mirror of
https://github.com/ansible/awx.git
synced 2026-03-16 00:17:29 -02:30
utilize far instead of function for search type
This commit is contained in:
@@ -120,7 +120,7 @@ class Search extends React.Component {
|
||||
|
||||
// TODO: this will probably become more sophisticated, where date
|
||||
// fields and string fields are passed to a formatter
|
||||
const actualSearchKey = isNonStringField(searchKey)
|
||||
const actualSearchKey = isNonStringField
|
||||
? searchKey
|
||||
: `${searchKey}__icontains`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user