From: Galen Charlton Date: Fri, 22 Feb 2013 19:00:55 +0000 (-0500) Subject: LP#1131889: sort TPac copy list by normalized call number X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fcollab%2Fgmcharlt%2Flp1131889_sort_cn_by_sortkey;p=working%2FEvergreen.git LP#1131889: sort TPac copy list by normalized call number ... as opposed to the literal call number label. E.g., this patch would make LC call number "AE5 .E363 1975 v.10" sort after "AE5 .E363 1975 v.9" rather than after "AE5 .E363 1975 v.1" Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm index b8124f2ec5..2f1564494c 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm @@ -2034,7 +2034,7 @@ sub basic_opac_copy_query { order_by => [ {class => 'aou', field => 'name'}, - {class => 'acn', field => 'label'} + {class => 'acn', field => 'label_sortkey'} ], limit => $copy_limit,