[open-ils-commits] r11146 - trunk/Open-ILS/src/perlmods/OpenILS/Application

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Nov 11 16:44:55 EST 2008


Author: miker
Date: 2008-11-11 16:44:50 -0500 (Tue, 11 Nov 2008)
New Revision: 11146

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm
Log:
add proper ordering to above/below pages

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm	2008-11-11 21:40:26 UTC (rev 11145)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/SuperCat.pm	2008-11-11 21:44:50 UTC (rev 11146)
@@ -383,6 +383,7 @@
 					  limit => 1
 					}
 				} 
+			  order_by	=> { mfr => { value => 'desc' },
 			  limit		=> $before_limit,
 			  offset	=> abs($page) * $page_size - $before_offset,
 			}
@@ -411,6 +412,7 @@
 					  limit => 1
 					}
 				} 
+			  order_by	=> { mfr => { value => 'asc' },
 			  limit		=> $after_limit,
 			  offset	=> abs($page) * $page_size - $after_offset,
 			}



More information about the open-ils-commits mailing list