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:

Environment

None

Status

Assignee

Unassigned

Reporter

Catalin Grigorescu

Triage

None

Components

Affects versions

Priority

High
Configure