aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models/NotebooksModel.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Models/NotebooksModel.php')
-rw-r--r--h-source/Application/Models/NotebooksModel.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/h-source/Application/Models/NotebooksModel.php b/h-source/Application/Models/NotebooksModel.php
index 00ab64d..2172f52 100644
--- a/h-source/Application/Models/NotebooksModel.php
+++ b/h-source/Application/Models/NotebooksModel.php
@@ -40,13 +40,8 @@ class NotebooksModel extends GenericModel {
'comm_year' => gtext("year"),
'subtype' => gtext("subtype"),
);
-
- $this->_popupWhere = array(
- 'vendor' => 'type="notebook" and deleted="no"',
- 'compatibility' => 'type="notebook" and deleted="no"',
- 'comm_year' => 'type="notebook" and deleted="no"',
- 'subtype' => 'type="notebook" and deleted="no"',
- );
+
+ $this->createPopupWhere('vendor,compatibility,comm_year,subtype');
$this->diffFields = array(
'vendor' => gtext("vendor"),