Skip to content
Snippets Groups Projects
Commit 01a8f4ad authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Fix page input of recordlist pagination

This fixes several bugs of the recordlist
pagination page input field.

1. The selector for the corresponding form
   element is no longer hardcoded to "pages",
   enabling the field for all tables again.
2. A JavaScript warning regarding "NaN" for
   parseInt() is resolved by using `Number()`.
3. Setting the value is only done in case
   corresponding `min` / `max` settings exist.

Resolves: #102872
Resolves: #102861
Releases: main, 12.4
Change-Id: I2110fef23e17ccbde3e37754be5ef3c5187dfa43
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82519


Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
parent dedf8377
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