mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -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
|
// TODO: this will probably become more sophisticated, where date
|
||||||
// fields and string fields are passed to a formatter
|
// fields and string fields are passed to a formatter
|
||||||
const actualSearchKey = isNonStringField(searchKey)
|
const actualSearchKey = isNonStringField
|
||||||
? searchKey
|
? searchKey
|
||||||
: `${searchKey}__icontains`;
|
: `${searchKey}__icontains`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user