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

Evergreen Git git at git.evergreen-ils.org
Thu Jun 6 16:01:23 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  8f03641c4e31c4dffb4432d1ae06cae928ab07a6 (commit)
      from  ad86ef5d3c689c9b514cc09bfc93e7f451461dc7 (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 8f03641c4e31c4dffb4432d1ae06cae928ab07a6
Author: Steven Callender <stevecallender at esilibrary.com>
Date:   Mon Mar 11 15:48:57 2013 -0400

    Add the copy number to the list of data being pulled for access by the TPAC.
    
    Signed-off-by: Steven Callender <stevecallender at esilibrary.com>
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
index f98645b..817cd7d 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
@@ -1954,7 +1954,7 @@ sub basic_opac_copy_query {
     return {
         select => {
             acp => ['id', 'barcode', 'circ_lib', 'create_date',
-                    'age_protect', 'holdable'],
+                    'age_protect', 'holdable', 'copy_number'],
             acpl => [
                 {column => 'name', alias => 'copy_location'},
                 {column => 'holdable', alias => 'location_holdable'}
@@ -2035,7 +2035,8 @@ sub basic_opac_copy_query {
 
         order_by => [
             {class => 'aou', field => 'name'},
-            {class => 'acn', field => 'label'}
+            {class => 'acn', field => 'label'},
+            {class => 'acp', field => 'copy_number'}
         ],
 
         limit => $copy_limit,

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

Summary of changes:
 .../perlmods/lib/OpenILS/Application/AppUtils.pm   |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list