On améliore le tri
This commit is contained in:
parent
a3255ff460
commit
f4016e6593
@ -238,7 +238,7 @@ class CalendarList:
|
||||
Q(other_versions__isnull=True) |
|
||||
Q(other_versions__representative=F('pk')) |
|
||||
Q(other_versions__representative__isnull=True)
|
||||
).order_by("start_time").prefetch_related("exact_location").prefetch_related("category").prefetch_related("other_versions")
|
||||
).order_by("start_time", "title").prefetch_related("exact_location").prefetch_related("category").prefetch_related("other_versions")
|
||||
|
||||
firstdate = datetime.fromordinal(self.c_firstdate.toordinal())
|
||||
if firstdate.tzinfo is None or firstdate.tzinfo.utcoffset(firstdate) is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user