Server-side pagination
At the moment all the pagination is computed client-side thanks to datatables.
As the whole dataset must be loaded, this will eventually break if the number of items grows too much.
We should implement server-side pagination, ordering and search, and possibly get rid of datatables.