Open
Description
Version
2.14.2
Details
When I give Gridify a filter value with a leading space the resulting query trims the filter criteria resulting in no matches being found.
Granted I should sanitize my data, but I still believe this to be a bug.
Steps to reproduce
When I give Gridify the filter value: "tags= with leading space", it generates the following query statement:
SELECT VALUE root FROM root JOIN (SELECT VALUE EXISTS(SELECT VALUE m0 FROM root JOIN m0 IN root["tags"] WHERE (m0["name"] = "leading space"))) AS v0 WHERE ((root["tags"] != null) AND v0)
Note that the filter criteria no longer contains the leading space, resulting in no matches returned from my store.
Activity