Review 14.3 Merged

97022[TASK] Provide public access to number of items of paginators

Georg Ringer CR +2 V +2 Normal +98 −0 updated 10/22/26, 17:48

Commit message

The paginators already know the total number of items and the number
of items on the current page, but both values were only available
through protected methods of the AbstractPaginator. Displaying e.g.
"10 of 321 records" required counting the items again, either with
an additional query or in the template.

AbstractPaginator now provides the public methods
getTotalNumberOfItems() and getNumberOfItemsOnCurrentPage(), which
return the already calculated values. The existing protected methods
are kept, so custom paginators continue to work unchanged.

Review

  • Code review CR +2 Done
    • Georg Ringer +2
    • Oliver Klee +1
  • Verified V +2 Done
    • Georg Ringer +2
    • Oliver Klee +1
    • core-ci +1 CI

Issues 1

Files 5

Review log 45

  1. Georg Ringer commented on patch set 1 10/22/26, 16:50

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 10/22/26, 17:05 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112156

  3. Oliver Klee voted on patch set 1 CR +1 V +1 10/22/26, 17:45

  4. Georg Ringer voted on patch set 1 CR +2 V +2 10/22/26, 17:47

  5. Georg Ringer merged patch set 2 10/22/26, 17:48