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/WifiModel.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'h-source/Application/Models/WifiModel.php') diff --git a/h-source/Application/Models/WifiModel.php b/h-source/Application/Models/WifiModel.php index 3d15aa2..12dedc2 100644 --- a/h-source/Application/Models/WifiModel.php +++ b/h-source/Application/Models/WifiModel.php @@ -45,14 +45,9 @@ class WifiModel extends GenericModel $this->_popupFunctions = array( 'interface' => 'betterVendor', ); - - $this->_popupWhere = array( - 'vendor' => 'type="wifi" and deleted="no"', - 'comm_year' => 'type="wifi" and deleted="no"', - 'wifi_works' => 'type="wifi" and deleted="no"', - 'interface' => 'type="wifi" and deleted="no"', - ); - + + $this->createPopupWhere('vendor,wifi_works,comm_year,interface'); + $this->diffFields = array( 'vendor' => gtext("vendor"), 'model' => gtext('model name'), -- cgit v1.2.3