Closed yashovardhan99 closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Stats from SQL
Instead of manually adding up/counting totals, we can use SQL directly to get count and sums for stats
This will give us the no. of healings between 2 dates:-
And this will give the total earnings (= sum of healings charges) between 2 dates.
We can use these directly to improve home page performance.
Paging
We can now add paging in dashboard for all activities till date. This allows us to create an endless scrolling page with much faster performance.