Opened 5 years ago

Closed 5 years ago

#2800 closed defect (fixed)

WFS GetFeatures filter not applied for resultType=hits

Reported by: jng Owned by: jng
Priority: high Milestone: 4.0
Component: WFS Interface Version:
Severity: trivial Keywords:
Cc: External ID:

Description

It always returns the full total

Change History (1)

comment:1 by jng, 5 years ago

Resolution: fixed
Status: assignedclosed

In 9582:

Fix complete failure of WFS GetFeatures in resultType=hits mode to return a filtered total:

  1. We passed the sort criteria (instead of filter) for the WFS filter parameter of GetWfsFeatureTotal()
  2. The MgWfsQueryAdapter on the server side did not even assign the MgFeatureQueryOptions that gets built! As a result, FDO queries were always running un-filtered!

Fixes #2800

Note: See TracTickets for help on using tickets.