Hi, I'm very new to MapStore and trying to investigate this issue with Levi B.
I've been looking through the plugins to find where there might be references to the two attributes that are different / missing in the WFS response you are getting.
You don't have any `numberMatched` value returned.
And you have `"totalFeatures": "unknown"` returned.
`numberMatched` only appears in `wfs.js` and `wfsquery-test.js`.
In wfs.js it APPEARS as though it is only ever SET. Within both the `createFeatureCollection` and `getFeaturesFiltered` functions it takes the input of `features` and the sets the property based on the features.length.
So, it looks like the value isn't read anywhere withing the plugins. Seems like that missing value should not be an issue?
`totalFeatures` is referenced in a lot of places.
It appears to be used mostly in pagination, with FeatureGrid, Query, wfsquery, TableWidget being the ones that seem most likely places to me.
It seems like there is a toPage function in FeatureGridUtils that is called by the FeatureGrid component.
My best guess so far is that there is an attempt to check if pagination is required before displaying the FeatureGrid, and since that check might not return anything, the render doesn't continue?
Can anyone with a better knowledge of these plugins or the overall architecture confirm /deny that?
Regards,
Luke