Closed naub1n closed 5 months ago
hi,
I try to use filters in search box with logical operator:
{ "params": { "expression": { "my_layer": "\"code\" ILIKE '%$TEXT$%' OR \"name\" ILIKE '%$TEXT$%'" }, "resultTitle": "{code}:{nom}", "title": "AllInOne Search" }, "provider": "qgis" }
but when I write "Blaise" in searchbox, only the first $TEXT$ variable is replaced in GetFeatureInfo request:
$TEXT$
https://geo-dev.lesagencesdeleau.eu/dsiun/api/v1/featureinfo/scan/Cyclope/recherche?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&CRS=EPSG:3857&WIDTH=100&HEIGHT=100&LAYERS=my_layer&FILTER=my_layer:"code"+ILIKE+'%Blaise%'+OR+"name"+ILIKE+'%$TEXT$%'&WITH_MAPTIP=false&WITH_GEOMETRY=true&feature_count=100&info_format=text/xml&QUERY_LAYERS=my_layer
Docker images used :
Thanks, fixed in [1] and [2]
Wow Thx !!! I try it on the next docker image release!
hi,
I try to use filters in search box with logical operator:
but when I write "Blaise" in searchbox, only the first
$TEXT$
variable is replaced in GetFeatureInfo request:https://geo-dev.lesagencesdeleau.eu/dsiun/api/v1/featureinfo/scan/Cyclope/recherche?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&CRS=EPSG:3857&WIDTH=100&HEIGHT=100&LAYERS=my_layer&FILTER=my_layer:"code"+ILIKE+'%Blaise%'+OR+"name"+ILIKE+'%$TEXT$%'&WITH_MAPTIP=false&WITH_GEOMETRY=true&feature_count=100&info_format=text/xml&QUERY_LAYERS=my_layer
Docker images used :