From: Dan Pearl Date: Mon, 2 Jun 2014 14:03:27 +0000 (-0400) Subject: LP#1504615 Record display should involve part names when sorting. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fdpearl%2Fpart_opac_sort;p=working%2FEvergreen.git LP#1504615 Record display should involve part names when sorting. This adds a level of sorting to allow certain parts to be more easily found in the list. The hierarchy will now be: Org Unit / Call Number / Part Label Sortkey / Copy Number / Barcode Previously, the hierarchy was Org Unit / Call Number / Copy Number / Barcode Signed-off-by: Dan Pearl --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm index 2a4e184326..e0a5705588 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm @@ -2051,6 +2051,7 @@ sub basic_opac_copy_query { order_by => [ {class => 'aou', field => 'name'}, {class => 'acn', field => 'label_sortkey'}, + {class => 'bmp', field => 'label_sortkey'}, {class => 'acp', field => 'copy_number'}, {class => 'acp', field => 'barcode'} ],