Project

General

Profile

« Previous | Next » 

Revision f1db8cdd

Added by Serghei Mihai over 9 years ago

personnes: all holidays displayed in descending order

View differences:

calebasse/personnes/views.py
168 168
        ctx['timetables'] = timetable
169 169
        ctx['holidays'] = models.Holiday.objects \
170 170
                            .for_worker(self.object) \
171
                            .future() \
172
                            .order_by('start_date')
171
                            .order_by('-start_date')
173 172
        try:
174 173
            holiday = models.Holiday.objects \
175 174
                    .for_worker(self.object) \

Also available in: Unified diff