projects
/
WP-Plugins
/
glm-member-db-fields.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24ff7fc
)
Fix the search filter
author
Steve Sutton
<steve@gaslightmedia.com>
Fri, 14 Apr 2017 20:47:06 +0000
(16:47 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Fri, 14 Apr 2017 20:47:06 +0000
(16:47 -0400)
Need to bring in the current array so it can add to it.
setup/frontHooks.php
patch
|
blob
|
history
diff --git
a/setup/frontHooks.php
b/setup/frontHooks.php
index
ed4f1b7
..
6c33129
100644
(file)
--- a/
setup/frontHooks.php
+++ b/
setup/frontHooks.php
@@
-42,8
+42,8
@@
add_filter('glm-member-db-front-members-list-info', function($content, $id) {
2
);
-add_filter('glm-member-db-front-search-query', function() {
- $queryParts = array();
+add_filter('glm-member-db-front-search-query', function(
$queryParts
) {
+
//
$queryParts = array();
// Get all custom fields
$customFields = $this->wpdb->get_results(
"SELECT *