We're updating the issue view to help you get more done. 

totalFeatures for WFS 2.0 request returns wrong count

Description

I am getting wrong totalFeatures count while sending request with count and startIndex as URL parameter.I am getting this error only in the last request for WFS 2.0.For example I have 145 features and I need only 50 features per request then I am getting wrong count in the last request like below.

Request-I
url parameter - count = 50 & startIndex = 0
result - "totalFeatures":145

Request-II
url parameter- count = 50 & startIndex = 50
result - "totalFeatures":145

Request-III
url parameter- count = 50 & startIndex = 100
result - "totalFeatures":45

Environment

None

Status

Assignee

Unassigned

Reporter

Anshuman Nayak

Triage

Fix versions

Affects versions

2.10.5

Components

Priority

Medium