From: miker Date: Tue, 11 Nov 2008 21:44:50 +0000 (+0000) Subject: add proper ordering to above/below pages X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f1f9c33420c52a2e375538ad0813c5ab4399b4e1;p=Evergreen.git add proper ordering to above/below pages git-svn-id: svn://svn.open-ils.org/ILS/trunk@11146 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 e585ca3415..ca1e3c25cd 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm @@ -383,6 +383,7 @@ sub title_browse { limit => 1 } } + order_by => { mfr => { value => 'desc' }, limit => $before_limit, offset => abs($page) * $page_size - $before_offset, } @@ -411,6 +412,7 @@ sub title_browse { limit => 1 } } + order_by => { mfr => { value => 'asc' }, limit => $after_limit, offset => abs($page) * $page_size - $after_offset, }