updating url to be passed to the dashboard admin widget for textsearch autocomplete
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 1 Oct 2018 19:25:32 +0000 (15:25 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 1 Oct 2018 19:25:32 +0000 (15:25 -0400)
setup/adminHooks.php

index f5e90e8..beb9a77 100644 (file)
@@ -108,7 +108,7 @@ add_filter(
                     'table'     => $packagesTable,
                     'fields'    => "id, title as name, image",
                     'where'     => 'title',
-                    'resultUrl' => $packagingIndexPage . "&option=edit",
+                    'resultUrl' => $packagingIndexPage . "&option=edit&packageID=",
                 ],
                 // [
                 //     'id'        => 'active',