From 8f03641c4e31c4dffb4432d1ae06cae928ab07a6 Mon Sep 17 00:00:00 2001 From: Steven Callender Date: Mon, 11 Mar 2013 15:48:57 -0400 Subject: [PATCH] Add the copy number to the list of data being pulled for access by the TPAC. Signed-off-by: Steven Callender Signed-off-by: Jason Etheridge --- Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm index f98645bc03..817cd7d5aa 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, -- 2.43.2