change the default operator to $contL (case insensitive contains)
allow the use of a semi-colon to insert a custom operator, as in: <SearchInput source='name:$cont' />
The use of a semi-colon is necessary because the use of double-pipes (as suggested in #26) was preventing the field from working properly in latest version of React-Admin (v4).
Note: since there is no tests and I”m new to React-Admin data provider, I don’t know if these changes can have side-effects I haven’t foreseen.
The PR makes 2 changes:
$contL
(case insensitive contains)<SearchInput source='name:$cont' />
The use of a semi-colon is necessary because the use of double-pipes (as suggested in #26) was preventing the field from working properly in latest version of React-Admin (v4).
Note: since there is no tests and I”m new to React-Admin data provider, I don’t know if these changes can have side-effects I haven’t foreseen.