personnes: fix on group holidays filtering

Closes #4141
This commit is contained in:
Serghei Mihai 2013-12-18 11:53:13 +01:00
parent ef1217dc29
commit 4976c5c2e6
No known key found for this signature in database
GPG Key ID: 76D1C964BF2FA1AF
1 changed files with 1 additions and 0 deletions

View File

@ -336,6 +336,7 @@ class GroupHolidaysList(cbv.ListView):
def get_queryset(self, *args, **kwargs):
qs = super(GroupHolidaysList, self).get_queryset(*args, **kwargs)
qs = qs.filter(worker__isnull=True)
return qs
group_holidays = GroupHolidaysList.as_view()