From: miker Date: Thu, 14 Oct 2010 18:13:49 +0000 (+0000) Subject: correct top-half ordering by label_sortkey X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=863922dc69991df6bc5929469a1ab2b5f1969d25;p=evergreen%2Fjoelewis.git correct top-half ordering by label_sortkey git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18330 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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, }