[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. bcd1986bcbc8c60efe56120cc0030c66484bbb74
Evergreen Git
git at git.evergreen-ils.org
Wed May 29 15:47:29 EDT 2013
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_3 has been updated
via bcd1986bcbc8c60efe56120cc0030c66484bbb74 (commit)
from 0af98c7ca5b53512e75e1f488be681b8383aca3f (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 bcd1986bcbc8c60efe56120cc0030c66484bbb74
Author: Bill Erickson <berick at esilibrary.com>
Date: Thu May 23 09:43:52 2013 -0400
LP1183357 Pass locale to bib search (tpac)
Pass the TPAC locale value, which is collected at each page load, to the
bib search API call. This allows us to take advantage of language-based
relevance bumps.
Signed-off-by: Bill Erickson <berick at esilibrary.com>
Signed-off-by: Pasi Kallinen <pasi.kallinen at pttk.fi>
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
index 470426c..efac1fa 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
@@ -414,8 +414,12 @@ sub load_rresults {
my $method = 'open-ils.search.biblio.multiclass.query';
$method .= '.staff' if $ctx->{is_staff};
+ my $ses = OpenSRF::AppSession->create('open-ils.search');
+ $ses->session_locale($OpenILS::Utils::CStoreEditor::default_locale); # set in EGWeb
+
$self->timelog("Firing off the multiclass query");
- $results = $U->simplereq('open-ils.search', $method, $args, $query, 1);
+ my $req = $ses->request($method, $args, $query, 1);
+ $results = $req->gather(1);
$self->timelog("Returned from the multiclass query");
} catch Error with {
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list