[BUGFIX] Render correct paging label 80/58780/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 29 Oct 2018 15:29:16 +0000 (16:29 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 29 Oct 2018 16:20:55 +0000 (17:20 +0100)
commitc7623d4b620475cff3e55fa3b231e26ba3005d1c
tree26026e7cc9f299b6f536f32fb00f095b01bf52af
parentd4bdb02b9e3cce6a76ede3cc488a7bcb2e7836c6
[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/58780
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Classes/RecordList/AbstractRecordList.php