From f1f9c33420c52a2e375538ad0813c5ab4399b4e1 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 11 Nov 2008 21:44:50 +0000 Subject: [PATCH] add proper ordering to above/below pages git-svn-id: svn://svn.open-ils.org/ILS/trunk@11146 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm | 2 ++ 1 file changed, 2 insertions(+) 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, } -- 2.11.0