[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 0552b0aca01c60e50b8ccc0528f793dc383d1fd2

Evergreen Git git at git.evergreen-ils.org
Wed Mar 27 16:34:14 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  0552b0aca01c60e50b8ccc0528f793dc383d1fd2 (commit)
      from  e930d2a8a534ce6cc1917b1b1374685b8480679b (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 0552b0aca01c60e50b8ccc0528f793dc383d1fd2
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 7421857..b20d3cd 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