Resolve "Adapt to active school term"
Closes #17
Merge request reports
Activity
changed milestone to /AlekSIS%"[NLnet #7 (closed)] Global school term select for easily switching school terms and implement sub school terms"
added 1 commit
- bc9c76bf - Adapt to active school term and optimize queries
@ZugBahnHof please test, as I don't exactly know what you meant with „Efforts page breaks, because the groups of the efforts are required but cannot be loaded somehow.” When I tested (before my changes) nothing broke in terms of throwing errors (but there were data from other school terms, maybe that's it).
If you create efforts for groups of the current school term, and then switch the active schoolterm, still all efforts were tried to be loaded, but the group couldn't be resolved (as the groups Queryset only contains groups from the active schoolterm), so I got an error message, because the graphql type for efforts is not allowed to not receive a value for the group field.
@magicfelix @ZugBahnHof Please solve.
- Resolved by magicfelix
- Resolved by magicfelix
- Resolved by magicfelix
added 1 commit
- aaed3cb0 - Adapt to active school term and optimize queries