camptocamp / cgxp

22 stars 22 forks source link

QueryBuilder unable to filter with "like" or "contains" and special characters #1124

Closed ger-benjamin closed 6 years ago

ger-benjamin commented 6 years ago

To reproduce this issue:

-> No result, expect 1

Set the filter to "name" "contains" "Pierre-Fatio (rive)"

We need to escape the value with OpenLayers.Filter.Comparison.LIKE (-> in our interface, with "contains" and "like" operators)

sbrunner commented 6 years ago

Doesn't it also affect ngeo?

ger-benjamin commented 6 years ago

I still need to see that. It depends on how ol3 is made