Skip to content
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

Default to lastPage when pager is looking for a non-existent page (for v.3.97) #7122

Closed
lizazz opened this issue Apr 27, 2021 · 1 comment · Fixed by #7128
Closed

Default to lastPage when pager is looking for a non-existent page (for v.3.97) #7122

lizazz opened this issue Apr 27, 2021 · 1 comment · Fixed by #7128

Comments

@lizazz
Copy link

lizazz commented Apr 27, 2021

There was an error
- When accessing on a non-existent List page, it displays a link to go to page 1 instead of a button to create a new entity.

Also, I have seen commit, which should fix the error,

sonata-project/SonataDoctrineORMAdminBundle@fb956f3

but it hasn't been apply to any version

but I found the same error in v.3.78, 3.79, and 3.97.
I would like to reopen this issue.

@VincentLanglet
Copy link
Member

This should fix the issue @lizazz #7128

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants