aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/SearchController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2010-10-24 19:30:13 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2010-10-24 19:30:13 +0000
commit4641de870cfa9c5d4c41a94328a8fb1f4adfdc78 (patch)
tree10ba2ad1ca50c4a91d605858d054fdd948927c2f /h-source/Application/Controllers/SearchController.php
parent871d4231da58aff1902cdf260e887e1ee52d1716 (diff)
added 3G cards
Diffstat (limited to 'h-source/Application/Controllers/SearchController.php')
-rw-r--r--h-source/Application/Controllers/SearchController.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/SearchController.php b/h-source/Application/Controllers/SearchController.php
index 2d8a1a8..fe7a5bd 100644
--- a/h-source/Application/Controllers/SearchController.php
+++ b/h-source/Application/Controllers/SearchController.php
@@ -47,7 +47,7 @@ class SearchController extends BaseController
$argKeys = array(
'page:forceNat' => 1,
'action:sanitizeAlphanum' => 'search',
- 'type:sanitizeAlphanum' => 'notebook',
+ 'type:sanitizeString' => 'notebook',
'model:sanitizeString' => 'undef',
);
@@ -65,6 +65,8 @@ class SearchController extends BaseController
'-deleted' => "no",
);
+// echo $this->viewArgs['type'];
+
$recordNumber = $this->m['HardwareModel']->clear()->where($whereClause)->orderBy("id_hard desc")->rowNumber();
$data['recordNumber'] = $recordNumber;