From f83911089625e4db6ddd3e3ffb6d2e8c21ede8a1 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 22 Feb 2013 14:00:55 -0500 Subject: [PATCH] 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 --- 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 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'} ], -- 2.43.2