-
Notifications
You must be signed in to change notification settings - Fork 449
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
Fix Auto-Scroll Issue and Total Count Card for Staff Capacity Pagination in facility details page #9122
Comments
|
@nihal467 can i work on this issue? |
@Jacobjeevan @nihal467 I found the issue of total count on card ,the problem is the logic only counts from data fetched from current page .Need a bit of help ,I have a doubt/confusion on how to approach ,so should i fetch the entire data of all pages at once i.e change limit and offset?Or do i have to write an api for that or is there any other way ? |
Hmm 🤔 Easiest way would probably be to tweak the api rather than fetching all the results; that would affect pagination unless you want to call the api twice. In this case, modifying HospitalDoctorViewSet to return the total along with the results should work. |
Will give it a try and let u know if it works.Thanks for the help sir. |
@Jacobjeevan Hii sir.I'm learning django rn so it make take 2-4 days for me to fix this issue.Hope it's fine. |
Hi @nihal467, @Jacobjeevan, This issue has been stagnant for 2 weeks. Can I take over? My approach:
total_staff_scroll.mp4 |
@PAVAN507-STAR any updates here? |
Describe the bug
Originally report: #9004 (comment)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
The text was updated successfully, but these errors were encountered: