From 7be7efd9c107047011d8d3fcdaae3f73b5a5f325 Mon Sep 17 00:00:00 2001 From: MattiasSp Date: Tue, 3 May 2022 17:02:01 +0200 Subject: [PATCH] Fix for QGIS filters when not using extent --- src/layer/wfssource.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/layer/wfssource.js b/src/layer/wfssource.js index 987c5c868..5802256b6 100644 --- a/src/layer/wfssource.js +++ b/src/layer/wfssource.js @@ -130,8 +130,9 @@ class WfsSource extends VectorSource { // in EPSG:4326. EXP_FILTER comparisons still expects the SRS of the data to be used, which Origo then doesn't know. if (extent && this.getOptions().strategy !== 'all' && !customFilter && !this.getOptions().isTable) { queryFilter = `&BBOX=${requestExtent.join(',')},${this.getOptions().dataProjection}${qgisFilter}`; + } else { + queryFilter = qgisFilter; } - break; } default: break;