projects
/
WP-Plugins
/
glm-member-db-contacts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82682b5
)
Hide contacts that are access (not display)
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 1 May 2018 17:34:12 +0000
(13:34 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Fri, 20 Jul 2018 14:48:38 +0000
(10:48 -0400)
If access of contact is 35 45 10 or 90 don't display.
models/front/contacts/list.php
patch
|
blob
|
history
diff --git
a/models/front/contacts/list.php
b/models/front/contacts/list.php
index
9526280
..
53aa077
100644
(file)
--- 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'])) {