1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2025-01-24 19:33:25 +01:00
dspace-statistics-api/dspace_statistics_api
Alan Orth 4f8cd1097b
Rework paging
The "totalPages" value in our response is calculated incorrectly.
Instead of casting to int and rounding, we should rather round up
to the next integer with math.ceil. This is a more correct way to
get the value.

Also update the indexer to use the same logic, although there the
values are printed with +1 so they are more readable.
2020-12-27 12:22:07 +02:00
..
2020-12-23 16:12:50 +02:00
2018-10-28 11:14:21 +02:00
2020-12-27 12:22:07 +02:00
2020-12-23 13:25:17 +02:00
2020-12-27 12:22:07 +02:00