Skip to content

Conversation

AlexVelezLl
Copy link
Member

Summary

  • Filter out soft-deleted users from lessons, quizzes, and groups in the backend, to prevent the frontend from having problems when trying to access soft-deleted users' information.
  • Adds a filter argument to the annotate_array_aggregate method, to allow passing filters to the aggregate function.
    • This way, we can filter out soft-deleted users from the learners' list of lessons, quizzes, and groups.
  • Filter out soft-deleted users from the learners' lists of draft quizzes.
Grabacion.de.pantalla.2025-10-02.a.la.s.8.31.30.a.m.mov

References

Closes #13793.

Reviewer guidance

Follow the steps described on #13793.

@github-actions github-actions bot added DEV: backend Python, databases, networking, filesystem... APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) labels Oct 2, 2025
@AlexVelezLl AlexVelezLl requested a review from rtibbles October 2, 2025 13:41
Copy link
Contributor

github-actions bot commented Oct 2, 2025

@AlexVelezLl AlexVelezLl force-pushed the coach-broken-when-soft-delete-users branch from 06ee5a5 to 444f7ab Compare October 6, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) DEV: backend Python, databases, networking, filesystem... SIZE: small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lesson and quizzes pages error out when there are soft deleted users
2 participants