utilize far instead of function for search type

This commit is contained in:
John Mitchell
2019-09-20 13:49:00 -04:00
parent 9605d8049d
commit ac530e1328
+1 -1
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`;