Closed quazardous closed 5 years ago
I confirm. I fixed it here https://github.com/sonata-project/SonataAdminBundle/pull/5481
Same Here. Fix sonata-project/admin-bundle to version 3.45.1 solves the issue. version 3.45.2 and above have the bug.
The in_array strict option in determinedPerPageValue method in AbstractAdmin should be set to false.
Environment
Fedora 29
Sonata packages
Symfony packages
PHP version
Subject
Changing Per Page dropdown does not change the actual number of items in the listview.
Steps to reproduce
Go on a big List. Select something else than 32.
Expected results
The list should display the required number of items.
Actual results
It's stuck to 32 (the dropdown does not keep the chosen value AND the number of items is wrong)
but the URL has the good
_per_page
value.