changing the admin filter data for the fields in the component array of the dashboard...
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 20 Sep 2018 20:39:18 +0000 (16:39 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 20 Sep 2018 20:39:18 +0000 (16:39 -0400)
setup/adminHooks.php

index 47d6281..937cfdf 100644 (file)
@@ -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,
             ],