Project

General

Profile

« Previous | Next » 

Revision 4976c5c2

Added by Serghei Mihai over 10 years ago

personnes: fix on group holidays filtering

Closes #4141

View differences:

calebasse/personnes/views.py
336 336

  
337 337
    def get_queryset(self, *args, **kwargs):
338 338
        qs = super(GroupHolidaysList, self).get_queryset(*args, **kwargs)
339
        qs = qs.filter(worker__isnull=True)
339 340
        return qs
340 341

  
341 342
group_holidays = GroupHolidaysList.as_view()

Also available in: Unified diff