agenda: holidays are not filtered by service for disponibility bar

This commit is contained in:
Serghei Mihai 2014-09-23 10:46:11 +02:00
parent 6aa3310cc4
commit fc9041128d
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ class AjaxDisponibilityColumnView(TemplateView):
filter(services=self.service, worker=worker). \
for_today(self.date). \
order_by('start_date')
holidays = Holiday.objects.for_worker(worker).for_service(self.service). \
holidays = Holiday.objects.for_worker(worker). \
for_period(self.date, self.date). \
order_by('start_date')
events = Event.objects.for_today(self.date) \