Page MenuHomePhabricator

KML queries get wrong offset
Closed, ResolvedPublic

Description

Author: mathiaslidal

Description:
Hello. I just noticed that all KML query get the wrong value for offset. The problem is the use of getQueryLink(), which according to the documentation creates a link to further query results. This means that you will get a link to a query for the next results after the ones you're actually searching for

For instance, if you set a very high limit (to get all results) you will actually get no results, as the offset is set to one more than the actual number of results.


Version: REL1_19-branch
Severity: normal

Details

Reference
bz47355

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:16 AM
bzimport set Reference to bz47355.
bzimport added a subscriber: Unknown Object (MLST).

Change 71324 had a related patch set uploaded by Nemo bis:
Set correct default-value for offset

https://gerrit.wikimedia.org/r/71324

Change 71324 merged by jenkins-bot:
Set correct default-value for offset

https://gerrit.wikimedia.org/r/71324

Patch was merged month ago - is there more work left here, or can you close this ticket as RESOLVED FIXED?