From a6d778bfd5ffd5dcfd8eca5540a94033b1d170fd Mon Sep 17 00:00:00 2001 From: miker Date: Thu, 14 Oct 2010 18:13:20 +0000 Subject: [PATCH] correct top-half ordering by label_sortkey git-svn-id: svn://svn.open-ils.org/ILS/trunk@18329 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm b/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm index 92edc8e03b..e86d459418 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm @@ -305,7 +305,7 @@ sub cn_browse { }, { flesh => 1, flesh_fields => { acn => [qw/record owning_lib/] }, - order_by => { acn => "label_sortkey, upper(label) desc, id desc, owning_lib desc" }, + order_by => { acn => "label_sortkey desc, upper(label) desc, id desc, owning_lib desc" }, limit => $before_limit, offset => abs($page) * $page_size - $before_offset, } -- 2.11.0