Open rurziceanu opened 6 years ago
I too was curious about changing search behavior. Looks like one place that needs customizing is in the applyQuery
method, and perhaps in the parseRequestUrl
and/or createQueryMap
methods depending on how you will convey your query.
Let's say we have a books collection and we want to filter by name OR author Is this possible? I cannot find how to do this in the docs..
api/books/?name=$searchTerm|author=$searchTerm
does not work.. if I do
api/books/?name=$searchTerm&author=$searchTerm
seems to work but it applies AND condition and I need a OR condition