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=f83911089625e4db6ddd3e3ffb6d2e8c21ede8a1;p=evergreen%2Fmasslnc.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 Signed-off-by: Ben Shum --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm index 92f1dafa6f..e9f1a2ce26 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm @@ -2036,7 +2036,7 @@ sub basic_opac_copy_query { order_by => [ {class => 'aou', field => 'name'}, - {class => 'acn', field => 'label'}, + {class => 'acn', field => 'label_sortkey'}, {class => 'acp', field => 'copy_number'} ],