diff options
Diffstat (limited to 'h-source/Application/Models/PrintersModel.php')
-rw-r--r-- | h-source/Application/Models/PrintersModel.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/h-source/Application/Models/PrintersModel.php b/h-source/Application/Models/PrintersModel.php index b5b2f49..882224d 100644 --- a/h-source/Application/Models/PrintersModel.php +++ b/h-source/Application/Models/PrintersModel.php @@ -42,12 +42,7 @@ class PrintersModel extends GenericModel 'interface' => gtext("interface"), ); - $this->_popupWhere = array( - 'vendor' => 'type="printer" and deleted="no"', - 'compatibility' => 'type="printer" and deleted="no"', - 'comm_year' => 'type="printer" and deleted="no"', - 'interface' => 'type="printer" and deleted="no"', - ); + $this->createPopupWhere('vendor,compatibility,comm_year,interface'); $this->diffFields = array( 'vendor' => gtext("vendor"), |