aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models/ScannersModel.php
diff options
context:
space:
mode:
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'),