From: Anthony Talarico Date: Thu, 20 Sep 2018 16:34:33 +0000 (-0400) Subject: swapping the fields array for a field text string in the adminhooks widget filter X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=071ff89b74eb4269062d152890dd64f6bc13bd5e;p=WP-Plugins%2Fglm-member-db-packaging.git swapping the fields array for a field text string in the adminhooks widget filter --- 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",