From 5c29200428e8ede374e83325234cdcdf8588934e Mon Sep 17 00:00:00 2001 From: abijah Date: Wed, 8 Jul 2009 19:19:42 +0000 Subject: [PATCH] Minor tweak to allow more size selections in the drop down list. git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629/site@260 97e9348a-65ac-dc4b-aefc-98561f571b83 --- views/elements/jqGrid.ctp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/elements/jqGrid.ctp b/views/elements/jqGrid.ctp index c4bb5d9..4a4cab1 100644 --- a/views/elements/jqGrid.ctp +++ b/views/elements/jqGrid.ctp @@ -8,9 +8,9 @@ if (!isset($limit)) if (!isset($limitOptions)) { $limitOptions = array($limit); - if ($limit < 10) + if ($limit <= 10) array_push($limitOptions, 2, 5); - if ($limit < 30) + if ($limit <= 30) array_push($limitOptions, 10, 25); if ($limit > 10) array_push($limitOptions, 25, 50, 200);