From 3b16cd937c0282f25c7e1780f68f0963ed974a6c Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 21 Sep 2018 09:59:18 -0400 Subject: [PATCH] Fix the url sent to the textSearch suggestion links --- setup/adminHooks.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 0cb7003..bc5e698 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -49,6 +49,7 @@ add_filter( function ( $member = null ) { $packagingIndexPage = GLM_MEMBERS_PACKAGING_PLUGIN_ADMIN_URL . '?page=glm-members-admin-menu-packaging-index&glm_action=index'; $packagesTable = GLM_MEMBERS_PACKAGING_PLUGIN_DB_PREFIX . "packages"; + $packagingMemberEditPage = GLM_MEMBERS_PLUGIN_ADMIN_MENU_URL_BASE.'member&glm_action=packaging&option=edit'; $packagingEditPage = GLM_MEMBERS_PLUGIN_ADMIN_MENU_URL_BASE.'member&glm_action=packaging&option=edit'; /* @@ -102,7 +103,7 @@ add_filter( 'table' => $packagesTable, 'fields' => "id, title as name, image", 'where' => 'title', - 'resultUrl' => $packagingEditPage, + 'resultUrl' => $packagingIndexPage . "&option=edit", ], 'active' => [ 'title' => "Active Packages", -- 2.17.1