From: Kyle Tomita Date: Tue, 4 Feb 2014 02:07:38 +0000 (-0800) Subject: LP1155769 : Items repeated in tpac display, others not visible X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=21d17daff7534f1dcd06f479d0f5b976f1e990e2;p=working%2FEvergreen.git LP1155769 : Items repeated in tpac display, others not visible 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 modified: Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm index 630d252116..9c41fed40c 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm @@ -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,