adding where clause for name in the packaing filter
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 20 Sep 2018 20:59:30 +0000 (16:59 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 20 Sep 2018 20:59:30 +0000 (16:59 -0400)
setup/adminHooks.php

index ff2e0c7..0b70ebe 100644 (file)
@@ -101,6 +101,7 @@ add_filter(
                     'entityID'  => 'packageID',
                     'table'     => $packagesTable,
                     'fields'    => "id, title as name, image",
+                    'where'     => 'title',
                     'resultUrl' => $packagingEditPage,
                 ],
                 'active' => [