Expose copy_number to TPAC templates collab/phasefx/copy_number
authorJason Etheridge <jason@esilibrary.com>
Wed, 3 Apr 2013 20:48:49 +0000 (16:48 -0400)
committerJason Etheridge <jason@esilibrary.com>
Wed, 3 Apr 2013 20:48:49 +0000 (16:48 -0400)
This is needed if we want to customize the TPAC to show Copy Numbers

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm

index 87b53ec..246a491 100644 (file)
@@ -1953,7 +1953,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'}