[BUGFIX] Render correct paging label 79/58779/4
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 29 Oct 2018 13:58:40 +0000 (14:58 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 29 Oct 2018 15:15:53 +0000 (16:15 +0100)
commiteee1bd88dfbea665edaf27ea090a8aaf4de9ae60
tree7bd4ace4e97ecc84a088831ebca8695a884df6f8
parent3879aa9c73f488ea3ddd483f02cd58c6e816adff
[BUGFIX] Render correct paging label

In case of paging in any record list, the page browser is rendered in top
and on bottom of ther record list.

The upper browser now renders the paging correctly by calculating the
offset of items of the previous page instead of hard-coding a "1".

Resolves: #86787
Releases: master, 8.7
Change-Id: Ib7c8856f248107ea9d17aeabe83a564189f69abf
Reviewed-on: https://review.typo3.org/58779
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php