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

Evergreen Git git at git.evergreen-ils.org
Wed Mar 27 16:33:36 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, master has been updated
       via  d198705a3fe393a094cc626f428acd8ec096657f (commit)
      from  9f831d2a1120e2336aa66f1ea77405632907b49e (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 d198705a3fe393a094cc626f428acd8ec096657f
Author: Bill Erickson <berick at esilibrary.com>
Date:   Mon Mar 25 15:19:14 2013 -0400

    tpac : honor page locale in record detail copy grid
    
    The query used to load the record detail copy grid now uses the same
    locale value set as the default for all cstore-editor calls.  This
    solves the issue where copy location names, statuses, etc. are not
    properly translated.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Pasi Kallinen <pasi.kallinen at pttk.fi>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
index 3896ffb..6e89be3 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
@@ -61,6 +61,7 @@ sub load_record {
     # run copy retrieval in parallel to bib retrieval
     # XXX unapi
     my $cstore = OpenSRF::AppSession->create('open-ils.cstore');
+    $cstore->session_locale($OpenILS::Utils::CStoreEditor::default_locale);
     my $copy_rec = $cstore->request(
         'open-ils.cstore.json_query.atomic', 
         $self->mk_copy_query($rec_id, $org, $copy_depth, $copy_limit, $copy_offset, $pref_ou)

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

Summary of changes:
 .../perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list