Finally fix lessons_on_day property #145

Closed
opened 2021-06-08 19:39:55 +02:00 by hansegucker · 3 comments
hansegucker commented 2021-06-08 19:39:55 +02:00 (Migrated from edugit.org)

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.
hansegucker commented 2021-06-08 19:40:03 +02:00 (Migrated from edugit.org)

created merge request !487 to address this issue

created merge request !487 to address this issue
hansegucker commented 2021-06-08 19:40:04 +02:00 (Migrated from edugit.org)

mentioned in merge request !487

mentioned in merge request !487
nik commented 2021-06-11 16:35:26 +02:00 (Migrated from edugit.org)

mentioned in commit 2c5d582648

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