From a211553405cde96868b5880856ff397c84a7c8c6 Mon Sep 17 00:00:00 2001 From: callan-stretton Date: Thu, 1 Oct 2020 15:29:43 +1300 Subject: [PATCH] changed filtering style from listboxfield to checkboxsetfield --- src/SearchControllerExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SearchControllerExtension.php b/src/SearchControllerExtension.php index 4e87711..bbb8435 100755 --- a/src/SearchControllerExtension.php +++ b/src/SearchControllerExtension.php @@ -147,7 +147,7 @@ public function AdvancedSearchForm(){ $source = $source->filter($filter['Filters']); } - $fields->push(ListboxField::create($key, $filter['Label'], $source->map('ID','Title','All'), explode(',',$value))->addExtraClass('chosen-select')); + $fields->push(CheckboxSetField::create($key, $filter['Label'], $source->map('ID','Title','All'), explode(',',$value))->addExtraClass('chosen-select')); break; }