Finally fix lessons_on_day property #145

Closed
opened 2021-06-08 19:39:55 +02:00 by hansegucker · 3 comments
Owner

The lessons_on_day property has two problems that create some conflicts together:

  • The filter_from_person method can return None, so you can't do an order by then afterwards.
  • The filter_from_person method can return an union queryset, so you have to do the order by afterwards.
The `lessons_on_day` property has two problems that create some conflicts together: - The `filter_from_person` method can return `None`, so you can't do an order by then afterwards. - The `filter_from_person` method can return an **union** queryset, so you have to do the order by afterwards.
Author
Owner

created merge request !487 to address this issue

created merge request !487 to address this issue
Author
Owner

mentioned in merge request !487

mentioned in merge request !487
Owner

mentioned in commit 2c5d582648

mentioned in commit 2c5d58264899f23224807613c7589b2dd9a5dc69
nik closed this issue 2021-06-11 16:35:26 +02:00
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#145
No description provided.