[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 082b33695ff60fa2b9105db4fc7070d5470866d7
Evergreen Git
git at git.evergreen-ils.org
Mon Jan 30 21:01:09 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_0 has been updated
via 082b33695ff60fa2b9105db4fc7070d5470866d7 (commit)
from 3f1fb76335f639f218cfeacaeee47f92365e1609 (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 082b33695ff60fa2b9105db4fc7070d5470866d7
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/OpenILS/Application/Storage/Publisher/metabib.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm
index 31c4f1b..524dea8 100644
--- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm
+++ b/Open-ILS/src/perlmods/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) {
@@ -2844,7 +2844,7 @@ sub query_parser_fts {
my $query = $parser->new( %args )->parse;
- # 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} );
if (!$parser->default_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