Rework REST pagination to fix the 'start' and 'total_size' values
This branch reworks the pagination decorator for the REST server, because it couldn't propagate the start
and total_size
values to the CollectionMixin
.
With these changes, both are integrated and the start
and total_size
values are correct, making it possible to do actual pagination on the client side (with a predictable number of pages for example).
I believe it is more a fix than an API change.