projects
/
WP-Plugins
/
glm-member-db-packaging.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ad7be
)
swapping the fields array for a field text string in the adminhooks widget filter
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 20 Sep 2018 16:34:33 +0000
(12:34 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 20 Sep 2018 16:34:33 +0000
(12:34 -0400)
setup/adminHooks.php
patch
|
blob
|
history
diff --git
a/setup/adminHooks.php
b/setup/adminHooks.php
index
3566ac4
..
e78b92f
100644
(file)
--- a/
setup/adminHooks.php
+++ b/
setup/adminHooks.php
@@
-90,12
+90,9
@@
add_filter(
'order' => 2,
'component' => 'textSearch',
'table' => $packagesTable,
- 'fields' => [
- 'id',
- 'title',
- 'image',
- 'ref_dest'
- ]
+ 'fields' => "id, title, image, ref_dest",
+ 'baseUrl' => 'GLM_MEMBERS_PLUGIN_ADMIN_MENU_URL_BASE."member&glm_action=packaging',
+ 'resultUrl' => 'GLM_MEMBERS_PLUGIN_ADMIN_MENU_URL_BASE."member&glm_action=packaging&option=edit',
],
'pending' => [
'title' => "Pending Packages",