Open Gnafu opened 9 years ago
Filter map add a cql_filter to vendor param here. If a user queries a second time the filtred layer here the plugin adds the first cql_filter to the new filter. If first filter was a spatial filter, that has been reprojected here ,the query will fail. More when user resets a query with filterlayer active here the plugin deletes any cql filter, without restoring default cql_filter if it exists. To fix, I suggest to save original cql_filter, if it exists, in private var of original layer and restore it's original state any time user queries the layer and when he resets the query panel.
Ok, you can proceed as you suggested.
The fix in the C016 branch needs to be ported on the master branch
The query panel does not work if the "Filter Map" tool has been used on the layer before searching.