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

Save Current Page In eCR Table #2795

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

JNygaard-Skylight
Copy link
Collaborator

PULL REQUEST

Summary

Saves the current page in the eCR table in local storage with the itemsPerPage. If the user navigates to an eCR then back to the table, the table should be back at the last page. If the user navigates to that page from outside of the eCR Viewer they will start on page 1.

Related Issue

Fixes #2273

Acceptance Criteria

  • Using cookies, pagination data is stored for a user
  • eCRs per page and the current page being viewed both persist after clicking into and returning from an eCR

Additional Information

To return to the same page, the user must use the "Back to the eCR Library" link on the eCR page.

Checklist

  • If this code affects the other scrum team, have they been notified? (In Slack, as reviewers, etc.)

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

Successfully merging this pull request may close these issues.

Cookies for storing pagination settings | Non-Integrated eCR Viewer
1 participant