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

Pagination resets to page 1 #6474

Closed
devcodeash opened this issue Jul 28, 2021 · 1 comment
Closed

Pagination resets to page 1 #6474

devcodeash opened this issue Jul 28, 2021 · 1 comment

Comments

@devcodeash
Copy link

If we use a custom label for a resource pagination is reset to page 1 if we click page 2,3,4 or next button.
If i remove the options pagination works perfectly.

"react-admin": "^3.17.0"

<Resource
      name="inviteCodes"
      options={{ label: 'Invite Codes' }}
      list={InviteCodeList}
      create={InviteCodeCreate}
      icon={InviteCodeIcon}
      show={InviteCodeShow}
      edit={InviteCodeEdit}
/>
@fzaninotto
Copy link
Member

fzaninotto commented Jul 28, 2021

Duplicate of #6442, #6421

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

No branches or pull requests

2 participants