-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Batch actions all_elements
on SimplePager
#8164
Labels
Comments
In simple_pager_results we add Feel free to provide a PR @mvhirsch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Sonata packages
show
Symfony packages
show
PHP version
Subject
Using SimplePager renders wrong statement on batch actions. For example: selecting 50 elements (on a table containing >1000 elements) the batch action checkbox "all_elements" would result in "all elements (51)".
Which looks weird.
Minimal repository with the bug
Steps to reproduce
Use an admin using
SimplePager
, a database table using more than 25 results and limit it to 25.Expected results
I suggest printing something similar to pagination:
or
Actual results
The text was updated successfully, but these errors were encountered: