From 3ca3ecdd45838debc75d6feba2a452ef4d91431a Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 18 Jul 2011 22:55:53 +0000 Subject: deleted pages are no more visible on the filters --- h-source/Application/Models/BluetoothModel.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'h-source/Application/Models/BluetoothModel.php') diff --git a/h-source/Application/Models/BluetoothModel.php b/h-source/Application/Models/BluetoothModel.php index 0b7f15d..82aab59 100644 --- a/h-source/Application/Models/BluetoothModel.php +++ b/h-source/Application/Models/BluetoothModel.php @@ -45,13 +45,8 @@ class BluetoothModel extends GenericModel $this->_popupFunctions = array( 'vendor' => 'betterVendor', ); - - $this->_popupWhere = array( - 'vendor' => 'type="bluetooth" and deleted="no"', - 'comm_year' => 'type="bluetooth" and deleted="no"', - 'bluetooth_works' => 'type="bluetooth" and deleted="no"', - 'interface' => 'type="bluetooth" and deleted="no"', - ); + + $this->createPopupWhere('vendor,bluetooth_works,comm_year,interface'); $this->diffFields = array( 'vendor' => gtext("vendor"), -- cgit v1.2.3