[open-ils-commits] [GIT] Evergreen ILS branch master updated. c9a0a768c2220cca9e4564ddd5632b9ee3db64b2

Evergreen Git git at git.evergreen-ils.org
Mon Jan 30 20:59:59 EST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  c9a0a768c2220cca9e4564ddd5632b9ee3db64b2 (commit)
      from  6a775e8d1a413be7a60df4dfc40918521efd812b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c9a0a768c2220cca9e4564ddd5632b9ee3db64b2
Author: Dan Scott <dscott at laurentian.ca>
Date:   Sun Jan 22 11:42:08 2012 -0500

    Fix "prefered_language" typo that blocked preferred language
    
    "preferred_language" is used everywhere else, but in the crucial core of
    metabib.pm the "prefered_language" variant is used to check on the value
    - hence, nothing other than the default "eng" is being used. Fix that.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm
index acdc0c2..a5cb550 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm
@@ -1953,7 +1953,7 @@ sub biblio_search_multi_class_fts {
     my $ou_type          = $args{depth};
     my $limit            = $args{limit}  || 10;
     my $offset           = $args{offset} ||  0;
-    my $pref_lang        = $args{prefered_language} || 'eng';
+    my $pref_lang        = $args{preferred_language} || 'eng';
     my $visibility_limit = $args{visibility_limit}  || 5000;
 
 	if (!$ou) {
@@ -2862,7 +2862,7 @@ sub query_parser_fts {
 
     my $config = OpenSRF::Utils::SettingsClient->new();
 
-    # set the locale-based default prefered location
+    # set the locale-based default preferred location
     if (!$query->parse_tree->find_filter('preferred_language')) {
         $parser->default_preferred_language( $args{preferred_language} );
 

-----------------------------------------------------------------------

Summary of changes:
 .../Application/Storage/Publisher/metabib.pm       |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list