aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers
diff options
context:
space:
mode:
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();