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:
07abe31
)
adding concat select statement for the dashboard widget admin hook for the text search
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 4 Oct 2018 18:48:51 +0000
(14:48 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 4 Oct 2018 18:48:51 +0000
(14:48 -0400)
setup/adminHooks.php
patch
|
blob
|
history
diff --git
a/setup/adminHooks.php
b/setup/adminHooks.php
index
b274698
..
99c4417
100644
(file)
--- a/
setup/adminHooks.php
+++ b/
setup/adminHooks.php
@@
-216,7
+216,7
@@
add_filter(
'template' => 'textSearch',
'entityID' => 'event',
'table' => $contactsTable,
- 'fields' =>
"concat(fname, ' ', lname) as name,id,image,ref_dest"
,
+ 'fields' =>
'concat(fname," ",lname) as name,id,image,ref_dest'
,
'resultUrl' => $contactsEditPage.'&contact=',
'where' => 'fname OR lname'
],