From 071ff89b74eb4269062d152890dd64f6bc13bd5e Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 20 Sep 2018 12:34:33 -0400 Subject: [PATCH] swapping the fields array for a field text string in the adminhooks widget filter --- setup/adminHooks.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 3566ac4..e78b92f 100644 --- 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", -- 2.17.1