Link the Pagination type in the pagination filter.
Ensured that the pagination is kept if the collection changes.
Set the pagination directly if other filters are chained before the pagination.
Implemented page, offset, next and prev logic. Basic next, prev demo.