From f77281835d4ffd8bd12a27b4690f2699ea3d26dc 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@260 97e9348a-65ac-dc4b-aefc-98561f571b83 --- site/views/elements/jqGrid.ctp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/views/elements/jqGrid.ctp b/site/views/elements/jqGrid.ctp index c4bb5d9..4a4cab1 100644 --- a/site/views/elements/jqGrid.ctp +++ b/site/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);