utilize far instead of function for search type

This commit is contained in:
John Mitchell 2019-09-19 14:18:46 -04:00
parent 9605d8049d
commit ac530e1328

View File

@ -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`;