projects
/
WP-Plugins
/
glm-member-db-coupons.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75530db
)
Effort to fix the search functionality for the dashboard widget
feature/adminRevamp
author
Laury GvR
<laury@gaslightmedia.com>
Fri, 19 Oct 2018 21:18:17 +0000
(17:18 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Fri, 19 Oct 2018 21:18:17 +0000
(17:18 -0400)
setup/adminHooks.php
patch
|
blob
|
history
diff --git
a/setup/adminHooks.php
b/setup/adminHooks.php
index
aee3b66
..
27eaf9b
100644
(file)
--- a/
setup/adminHooks.php
+++ b/
setup/adminHooks.php
@@
-141,8
+141,8
@@
add_filter(
'template' => 'textSearch',
'entityID' => 'coupon',
'table' => $couponsTable,
- 'fields' => "id,
title as
name, image",
- 'where' => '
titl
e',
+ 'fields' => "id, name, image",
+ 'where' => '
nam
e',
'resultUrl' => $couponsListPage . "&coupon=",
],
[