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/ThreegcardsModel.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'h-source/Application/Models/ThreegcardsModel.php') diff --git a/h-source/Application/Models/ThreegcardsModel.php b/h-source/Application/Models/ThreegcardsModel.php index 5b0a7e7..4a89a97 100644 --- a/h-source/Application/Models/ThreegcardsModel.php +++ b/h-source/Application/Models/ThreegcardsModel.php @@ -46,13 +46,8 @@ class ThreegcardsModel extends GenericModel 'vendor' => 'betterVendor', 'interface' => 'betterVendor', ); - - $this->_popupWhere = array( - 'vendor' => 'type="3G-card" and deleted="no"', - 'comm_year' => 'type="3G-card" and deleted="no"', - 'wifi_works' => 'type="3G-card" and deleted="no"', - 'interface' => 'type="3G-card" and deleted="no"', - ); + + $this->createPopupWhere('vendor,wifi_works,comm_year,interface'); $this->diffFields = array( 'vendor' => gtext("vendor"), -- cgit v1.2.3