aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models/ScannersModel.php
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/Models/ScannersModel.php
parentcfe669be36d115c3bc4c98c8215c51480185e64e (diff)
deleted pages are no more visible on the filters
Diffstat (limited to 'h-source/Application/Models/ScannersModel.php')
-rw-r--r--h-source/Application/Models/ScannersModel.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/h-source/Application/Models/ScannersModel.php b/h-source/Application/Models/ScannersModel.php
index 72825b5..430142d 100644
--- a/h-source/Application/Models/ScannersModel.php
+++ b/h-source/Application/Models/ScannersModel.php
@@ -41,14 +41,9 @@ class ScannersModel extends GenericModel
'comm_year' => gtext("year"),
'interface' => gtext("interface"),
);
-
- $this->_popupWhere = array(
- 'vendor' => 'type="scanner" and deleted="no"',
- 'compatibility' => 'type="scanner" and deleted="no"',
- 'comm_year' => 'type="scanner" and deleted="no"',
- 'interface' => 'type="scanner" and deleted="no"',
- );
-
+
+ $this->createPopupWhere('vendor,compatibility,comm_year,interface');
+
$this->diffFields = array(
'vendor' => gtext("vendor"),
'model' => gtext('model name'),