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

Add pagination to query parameters for better navigation #11270

Open
MethodManav opened this issue Mar 13, 2025 · 5 comments
Open

Add pagination to query parameters for better navigation #11270

MethodManav opened this issue Mar 13, 2025 · 5 comments
Assignees

Comments

@MethodManav
Copy link

Describe the bug
The current pagination implementation does not preserve the page number in the URL. As a result, using the back button resets the pagination state, always redirecting to page 1 instead of the previously selected page.

To Reproduce
Steps to reproduce the behavior:

  1. Login with the following credentials:
    -Username: doctordev
    -Password: Coronasafe@123
  2. Navigate to Your Organizations.
  3. Select any organization.
  4. Change the page (e.g., go to page 2 or page 3).
  5. Select another organization.
  6. Click the Back button.

Expected behavior

  • You should be redirected to the previous page you were on (e.g., page 2 or page 3)..

Screenshots

Screencast.from.2025-03-13.12-32-30.mp4
@Shaikh-Mudassir
Copy link

Please assign me this issue i can fix this.
End Date: 1 day after assigning

@rithviknishad
Copy link
Member

Let's also move the search to query params;

@rithviknishad
Copy link
Member

@MethodManav do follow the original template for raising issues please;

@hrit2773
Copy link
Contributor

@rithviknishad Hmm... thats happening due to the default page reset of use Filters I noticed that at many places but was not sure if its actually a valid issue. Can I take this up. ETA: 3 days.

@MethodManav
Copy link
Author

@rithviknishad, you assigned this issue to @Shaikh-Mudassir. As discussed in my previous PR, I have already been working on this issue.

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

4 participants