Skip to content

Commit

Permalink
Merge pull request #8 from PlasticStudio/hotfix/set-to-checkboxsetfield
Browse files Browse the repository at this point in the history
changed filtering style from listboxfield to checkboxsetfield
  • Loading branch information
callan-stretton authored Oct 1, 2020
2 parents afb06d3 + a211553 commit 80a8fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SearchControllerExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 80a8fc0

Please sign in to comment.