agenda: Intervenants agenda pas filter by service (fixes #2302).

This commit is contained in:
Mikaël Ates 2013-01-06 15:03:00 +01:00
parent 006e8d3607
commit 759daffe46
1 changed files with 1 additions and 0 deletions

View File

@ -320,6 +320,7 @@ class AgendasTherapeutesView(AgendaHomepageView):
for_period(self.date, self.date). \
order_by('start_date')
plain_events = Event.objects.for_today(self.date) \
.filter(services=self.service) \
.order_by('start_datetime').select_subclasses()
events = [ e.today_occurrence(self.date) for e in plain_events ]