mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Merge pull request #2853 from jaredevantabor/hosts-disabled-search
Searching for disabled hosts was searching for enabled hosts
This commit is contained in:
commit
32633bb2aa
@ -54,6 +54,10 @@ export default
|
||||
label: 'Disabled?',
|
||||
searchSingleValue: true,
|
||||
searchType: 'boolean',
|
||||
typeOptions: [
|
||||
{label: "Yes", value: false},
|
||||
{label: "No", value: true}
|
||||
],
|
||||
searchValue: 'false',
|
||||
searchOnly: true
|
||||
},
|
||||
|
@ -25,7 +25,7 @@ export default ['Rest', '$q', 'GetBasePath', 'Wait', 'ProcessErrors', '$log', fu
|
||||
typeOptions = field.searchOptions || [];
|
||||
} else if (field.searchType === 'boolean') {
|
||||
type = 'select';
|
||||
typeOptions = [{label: "Yes", value: true},
|
||||
typeOptions = field.typeOptions || [{label: "Yes", value: true},
|
||||
{label: "No", value: false}];
|
||||
} else {
|
||||
type = 'text';
|
||||
|
Loading…
Reference in New Issue
Block a user