MongoDB CQL_Filter not working anymore

Description

Since version 18.0, WMS and WFS requests with a CQL_Filter return the entire collection.
However, the "totalFeatures" field in WFS response contains the right feature count.

Sample WFS request:
ows?service=WFS&request=GetFeature&typeName=test:test&outputFormat=application%2Fjson&CQL_FILTER=Capacity=100

Sample WFS response:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 { "type": "FeatureCollection", "totalFeatures": 1, "features": [ { "type": "Feature", "properties": { "Capacity": 0 } }, { "type": "Feature", "properties": { "Capacity": 100 } } ] }

Environment

None

Status

Assignee

Unassigned

Reporter

Catalin Grigorescu

Triage

None

Components

Affects versions

18.1
18.0

Priority

High
Configure