From 1d7fd2c9913bdb2693d7fd1c033fd747dce651bc Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 20 Sep 2018 16:39:18 -0400 Subject: [PATCH] changing the admin filter data for the fields in the component array of the dashboard admin widget --- setup/adminHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 47d6281..937cfdf 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -92,7 +92,7 @@ add_filter( 'component' => 'textSearch', 'entityID' => 'packageID', 'table' => $packagesTable, - 'fields' => "id, title, image, ref_dest", + 'fields' => "id, title as name, image, ref_dest", 'where' => 'title', 'resultUrl' => $packagingEditPage, ], -- 2.17.1