Project

General

Profile

« Previous | Next » 

Revision fc904112

Added by Serghei Mihai over 9 years ago

agenda: holidays are not filtered by service for disponibility bar

View differences:

calebasse/agenda/views.py
627 627
                filter(services=self.service, worker=worker). \
628 628
                for_today(self.date). \
629 629
                order_by('start_date')
630
        holidays = Holiday.objects.for_worker(worker).for_service(self.service). \
630
        holidays = Holiday.objects.for_worker(worker). \
631 631
                for_period(self.date, self.date). \
632 632
                order_by('start_date')
633 633
        events = Event.objects.for_today(self.date) \

Also available in: Unified diff