Skip to content
Snippets Groups Projects
Unverified Commit e1bc7883 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4465 from JediKev/issue/selection-field-nset

issue: SelectionField nset
parents 84943083 2d277075
No related branches found
No related tags found
No related merge requests found
...@@ -1786,7 +1786,7 @@ class SelectionField extends FormField { ...@@ -1786,7 +1786,7 @@ class SelectionField extends FormField {
function getSearchMethods() { function getSearchMethods() {
return array( return array(
'set' => __('has a value'), 'set' => __('has a value'),
'notset' => __('does not have a value'), 'nset' => __('does not have a value'),
'includes' => __('includes'), 'includes' => __('includes'),
'!includes' => __('does not include'), '!includes' => __('does not include'),
); );
...@@ -1795,7 +1795,7 @@ class SelectionField extends FormField { ...@@ -1795,7 +1795,7 @@ class SelectionField extends FormField {
function getSearchMethodWidgets() { function getSearchMethodWidgets() {
return array( return array(
'set' => null, 'set' => null,
'notset' => null, 'nset' => null,
'includes' => array('ChoiceField', array( 'includes' => array('ChoiceField', array(
'choices' => $this->getChoices(), 'choices' => $this->getChoices(),
'configuration' => array('multiselect' => true), 'configuration' => array('multiselect' => true),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment