LP1155769 : Items repeated in tpac display, others not visible user/ktomita/lp1155769-items_repeated_tpac_display
authorKyle Tomita <tomitakyle@gmail.com>
Tue, 4 Feb 2014 02:07:38 +0000 (18:07 -0800)
committerKyle Tomita <tomitakyle@gmail.com>
Tue, 4 Feb 2014 02:07:38 +0000 (18:07 -0800)
This was an issue with the query and ordering by a column that was null.
Changed the order by from acp.copy_number to acp.barcode.

Signed-off-by: Kyle Tomita <tomitakyle@gmail.com>
modified:   Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm

Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm

index 630d252..9c41fed 100644 (file)
@@ -2045,7 +2045,7 @@ sub basic_opac_copy_query {
         order_by => [
             {class => 'aou', field => 'name'},
             {class => 'acn', field => 'label_sortkey'},
-            {class => 'acp', field => 'copy_number'}
+            {class => 'acp', field => 'barcode'}
         ],
 
         limit => $copy_limit,