Project

General

Profile

Bug #1515

API: Paging count faulty

Added by Christoph Hoffmann almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
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 almost 2 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.

#2

Updated by Bernhard Koschiček-Krombholz almost 2 years ago

  • Status changed from Acknowledged to Closed

Is fixed in develop.

#3

Updated by Bernhard Koschiček-Krombholz almost 2 years ago

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

Updated by Alexander Watzinger almost 2 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.

#5

Updated by Christoph Hoffmann almost 2 years ago

thank you!

Also available in: Atom PDF