aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-07-18 22:55:53 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-07-18 22:55:53 +0000
commit3ca3ecdd45838debc75d6feba2a452ef4d91431a (patch)
treee4f8d68d65579d0b4463a6be2aa39982be9878de /h-source/Application/Controllers
parentcfe669be36d115c3bc4c98c8215c51480185e64e (diff)
deleted pages are no more visible on the filters
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r--h-source/Application/Controllers/SearchController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/h-source/Application/Controllers/SearchController.php b/h-source/Application/Controllers/SearchController.php
index 9e7cb68..7fda506 100644
--- a/h-source/Application/Controllers/SearchController.php
+++ b/h-source/Application/Controllers/SearchController.php
@@ -72,6 +72,7 @@ class SearchController extends BaseController
// 'model' => "like '%".$this->viewArgs['model']."%'",
// 'other_names' => "like '%".$this->viewArgs['model']."%'",
'-deleted' => "no",
+ 'cleared' => "no",
);
$recordNumber = $this->m['HardwareModel']->clear()->where($whereClause)->orderBy("id_hard desc")->rowNumber();