-
Notifications
You must be signed in to change notification settings - Fork 81
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
Removing a resource from the project does not affect resource count on dashboard. #674
Comments
@linzjax I'm thinking this doesn't need to be fixed this week, but would be good to get into Sprint 9. Is this something you want to take a stab at? |
Oops. This is related to the work that I did for improving handling of resources. Deleted (archived) resources should not count towards the total. This is easily fixed by filtering the queryset with One question I had for this was whether to show the true total to those who have the |
@seav agreed on showing the filtered total to everyone |
@seav Could you please let me know the file related to this bug so that I can amend the code. |
* Fix Cadasta#674: Fix resource count on project dashboard * Resolve review feedback
Steps to reproduce the error
Attach a resource to a project.
Check the resource count on the dashboard.
Delete the resource from the project.
Check the resource count on the dashboard again.
Actual behavior
Project dashboard reflects total number of resources loaded, regardless of whether or not they're still loaded.
### Expected behavior
Dashboard count reflects the number of resource currently loaded.
The text was updated successfully, but these errors were encountered: