[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. c72d7d33a6c5721098665c296b6eff837a6d750e
Evergreen Git
git at git.evergreen-ils.org
Mon Jan 30 21:00:34 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, rel_2_1 has been updated
via c72d7d33a6c5721098665c296b6eff837a6d750e (commit)
from b13a713e9216df11da43688f5a382052e3e6457b (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 c72d7d33a6c5721098665c296b6eff837a6d750e
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