Archived submissions are being counted in the cohort overview and student pages
harigopal opened this issue · comments
Hari Gopal commented
Describe the bug
When a student's reviewed submissions are archived from the back-end, they're still being counted in the cohort overview and students pages that coaches have access to, even though these are (properly) not considered in the any student report page.
To Reproduce
Steps to reproduce the behavior:
- Archive an accepted submission from the backend.
- Visit the
cohort_path
for the cohort in question. - View incorrect completion count againt the related assignment.
- Click the assignment name to visit the students page with the filter set.
- View the completion attributed to student, even though submission has been archived.
Expected behavior
- The count on index page should not consider archived submissions.
- The students page filter for milestone completion should ignore archived submissions.