personnes: all holidays displayed in descending order
This commit is contained in:
parent
243e22a934
commit
f1db8cdd6a
|
@ -168,8 +168,7 @@ class WorkerUpdateView(cbv.ServiceViewMixin, cbv.MultiUpdateView):
|
|||
ctx['timetables'] = timetable
|
||||
ctx['holidays'] = models.Holiday.objects \
|
||||
.for_worker(self.object) \
|
||||
.future() \
|
||||
.order_by('start_date')
|
||||
.order_by('-start_date')
|
||||
try:
|
||||
holiday = models.Holiday.objects \
|
||||
.for_worker(self.object) \
|
||||
|
|
Reference in New Issue