Discharged page jumps to page 1
Closed this issue · 6 comments
Describe the bug
Whenever any patient details is viewed in page other than 1, on returning back, the dashboard returns to page 1, which is not an expected behaviour ; It does not happens with live patients.
To Reproduce
Steps to reproduce the behavior:
- Go to 'patients tab'
- Click on 'discharged' tab and click on any facility
- Scroll down to 'page index'
- move to any other page than 1
- click the patient to view details
- move back
- see error
Expected behavior
The page must not jump to page 1.
Recording
https://github.com/user-attachments/assets/0d022933-a57f-4171-b1a2-39cc1d2173c6
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
@nihal467 @rithviknishad let me know if this is an actual issue.
Yes, would you be working on it?
Yes, would you be working on it?
yeah...
This looks like an interesting issue can i work on this issue @rithviknishad ?
@Naman-B-Parlecha its great that this issue was able to grow interest in the organisation and contributing to its issues. However, i am about to raise a PR for this. You can have other issues to solve.
@Sulochan-khadka no worries man looked interested would love to see how u have solved this issue🙌