Project

General

Profile

Actions

Bug #1515

closed

API: Paging count faulty

Added by Christoph Hoffmann about 3 years ago. Updated about 3 years ago.

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

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

Actions #1

Updated by Bernhard Koschiček-Krombholz about 3 years ago

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

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

Actions #2

Updated by Bernhard Koschiček-Krombholz about 3 years ago

  • Status changed from Acknowledged to Closed

Is fixed in develop.

Actions #3

Updated by Bernhard Koschiček-Krombholz about 3 years ago

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

Updated by Alexander Watzinger about 3 years 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.

Actions #5

Updated by Christoph Hoffmann about 3 years ago

thank you!

Actions

Also available in: Atom PDF