adding name where clause to the filter data for the admin dashboard textSearch widget
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 20 Sep 2018 20:37:22 +0000 (16:37 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 20 Sep 2018 20:37:22 +0000 (16:37 -0400)
setup/adminHooks.php

index 842aa69..3871e2e 100644 (file)
@@ -298,6 +298,7 @@ add_filter(
                 'table'     => $eventsTable,
                 'fields'    => "id, name, image",
                 'resultUrl' => $eventsEditPage,
+                'where'     => 'name'
             ],
             'active' => [
                 'title' => "Active events",