From f1035a90422b039caea857c1d0d4028181d96fab Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 1 May 2018 13:34:12 -0400 Subject: [PATCH] Hide contacts that are access (not display) If access of contact is 35 45 10 or 90 don't display. --- models/front/contacts/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/front/contacts/list.php b/models/front/contacts/list.php index 9526280..53aa077 100644 --- a/models/front/contacts/list.php +++ b/models/front/contacts/list.php @@ -181,7 +181,7 @@ class GlmMembersFront_contacts_list extends GlmDataContacts $memberName = $memberData['name']; } - $where = ' TRUE '; + $where = ' access NOT IN ( 35, 45, 10, 90 ) '; // Filter by selected county if (isset($_REQUEST['countySearch'])) { -- 2.17.1