next_lesson doesn't correctly work with changing validity ranges and probably also year changes #122

Closed
opened 2021-03-25 20:58:23 +01:00 by hansegucker · 3 comments
hansegucker commented 2021-03-25 20:58:23 +01:00 (Migrated from edugit.org)

Currently, there are multiple issues:

  • next_lesson is used on a queryset with lesson periods from multiple validity ranges.
  • Selecting the next item just by index (or, if there is no next item, selecting the first item and switching the week) doesn't work if there are lesson periods from multiple validity ranges.
  • Also, year changes doesn't work correctly if there are multiple validity ranges.
Currently, there are multiple issues: - `next_lesson` is used on a queryset with lesson periods from multiple validity ranges. - Selecting the next item just by index (or, if there is no next item, selecting the first item and switching the week) doesn't work if there are lesson periods from multiple validity ranges. - Also, year changes doesn't work correctly if there are multiple validity ranges.
hansegucker commented 2021-03-25 20:58:34 +01:00 (Migrated from edugit.org)

created merge request !448 to address this issue

created merge request !448 to address this issue
hansegucker commented 2021-03-25 20:58:34 +01:00 (Migrated from edugit.org)

mentioned in merge request !448

mentioned in merge request !448
nik (Migrated from edugit.org) closed this issue 2021-03-26 12:51:09 +01:00
nik commented 2021-03-26 12:51:15 +01:00 (Migrated from edugit.org)

mentioned in commit 606c9b228a

mentioned in commit 606c9b228a9b96ac5530362d3da316e064a2c436
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-App-Chronos#122
No description provided.