From 21d17daff7534f1dcd06f479d0f5b976f1e990e2 Mon Sep 17 00:00:00 2001 From: Kyle Tomita Date: Mon, 3 Feb 2014 18:07:38 -0800 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.11.0