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
Owner

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.
Author
Owner

created merge request !448 to address this issue

created merge request !448 to address this issue
Author
Owner

mentioned in merge request !448

mentioned in merge request !448
nik closed this issue 2021-03-26 12:51:09 +01:00
Owner

mentioned in commit 606c9b228a

mentioned in commit 606c9b228a9b96ac5530362d3da316e064a2c436
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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.