Project

General

Profile

Bug #1515

API: Paging count faulty

Added by Christoph Hoffmann 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Low
Category:
API
Target version:
Start date:
2021-05-12
Estimated time:
Found in version:

Description

when pageing the total count decreases by the number of skipped entities from the start ie

https://demo.openatlas.eu/api/0.2/query/?limit=10&codes=actor&first=6450 returns entities: 792
https://demo.openatlas.eu/api/0.2/query/?limit=10&codes=actor&first=377 returns entities: 782

expected: the number of total entities found should remain constant across pages

History

#1

Updated by Bernhard Koschiček-Krombholz 6 months ago

  • Found in version set to 6.2.0
  • Target version set to 6.3.0
  • Assignee set to Bernhard Koschiček-Krombholz
  • Status changed from New to Acknowledged
  • Subject changed from Pageing count faulty to API: Pageing count faulty

Thank you for reporting. Maybe my refactoring brought this bug into life. Will fix it.

#2

Updated by Bernhard Koschiček-Krombholz 5 months ago

  • Status changed from Acknowledged to Closed

Is fixed in develop.

#3

Updated by Bernhard Koschiček-Krombholz 5 months ago

  • Subject changed from API: Pageing count faulty to API: Paging count faulty
#4

Updated by Alexander Watzinger 5 months ago

I uploaded the develop patch at demo-dev and origins and can confirm that it is now working as expected. Thank you Christoph and Berni for reporting and fixing.

#5

Updated by Christoph Hoffmann 5 months ago

thank you!

Also available in: Atom PDF