Skip to content
Snippets Groups Projects
Commit cf90cfde authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Susanne Moog
Browse files

[TASK] Follow-up: Introduce native pagination for lists

- Switch the order of constructor arguments $currentPageNumber
  and $itemsPerPage of both the ArrayPaginator and QueryResultPaginator
  classes as the $currentPageNumber needs to be set on every object
  construction whereas the $itemsPerPage argument only needs to be
  changed for paginators that use a differen amount of items per page
  other than the default of 10.
- Change visibility of properties of both the ArrayPaginator and the
  QueryResultPaginator from protected to private as both classes are
  marked final.

Releases: master
Resolves: #89754
Change-Id: If900c1b786aef7f155bbe0b06cdd167f59e8c9ff
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62418


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
parent 8d8d7cbb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment