From: Anthony Talarico Date: Thu, 20 Sep 2018 19:25:23 +0000 (-0400) Subject: adding where clause to the textsearch for the dashboard admin widget X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=5e576c91b69e6fc14aab1505e06b02b0c521bfac;p=WP-Plugins%2Fglm-member-db-packaging.git adding where clause to the textsearch for the dashboard admin widget --- diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 7456018..47d6281 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -92,7 +92,8 @@ add_filter( 'component' => 'textSearch', 'entityID' => 'packageID', 'table' => $packagesTable, - 'fields' => "id, title, image, ref_type, ref_dest", + 'fields' => "id, title, image, ref_dest", + 'where' => 'title', 'resultUrl' => $packagingEditPage, ], 'active' => [