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

wrong last page on articles page #4580

Open
mauromsl opened this issue Jan 15, 2025 · 0 comments
Open

wrong last page on articles page #4580

mauromsl opened this issue Jan 15, 2025 · 0 comments
Labels
bug Something's not working

Comments

@mauromsl
Copy link
Member

mauromsl commented Jan 15, 2025

Describe the bug
When browsing the /articles page of a journal on any theme, the last page number doesn't work as intended due to changes on the page size parameter.

Janeway version
v1.7.3

To Reproduce
Steps to reproduce the behavior:

  1. Go to /articles on any journal
  2. Click on the link to the last page
  3. Scroll down to the page numbers
  4. See that you are not on the last page, but rather the middle of the page range

Expected behavior
The shown last page should match the presented default page size so it behaves as the last page

Screenshots
When on page 1
image
When clicking last page (16)
image

Additional context
It could be fixed by making sure the default for the "records per page" form element matches the value that is being used to render the initial results

@mauromsl mauromsl added the bug Something's not working label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's not working
Projects
None yet
Development

No branches or pull requests

1 participant