Requests for records past end of a search-result incorrectly report total-records as 0

Description

As described in , if you try to fetch a batch of records past the end of the set found by a search, mod-users wrongly returns a record-count of 0. Here are two relevant requests, both part of a sequence of fetches that populate the display of a ui-users search-result. First, a good one (fetching records 30-39):

Now the bad one:

(In case it's not clear, the only difference between the two WSPAI URLs above is that the first has offset=40 and the second has offset=40.)

The total_records count should be 39 in the second case as well as the first.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Anton Emelianov May 20, 2020 at 7:09 PM

closing 12+ month old bugs

Won't Do

Details

Assignee

Reporter

Labels

Priority

Development Team

Prokopovych

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created June 9, 2017 at 1:56 PM
Updated May 20, 2020 at 7:09 PM
Resolved May 20, 2020 at 7:09 PM
TestRail: Cases
TestRail: Runs