From: Laury GvR Date: Fri, 21 Sep 2018 13:59:18 +0000 (-0400) Subject: Fix the url sent to the textSearch suggestion links X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=3b16cd937c0282f25c7e1780f68f0963ed974a6c;p=WP-Plugins%2Fglm-member-db-packaging.git Fix the url sent to the textSearch suggestion links --- 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",