Projet

Général

Profil

« Précédent | Suivant » 

Révision fc904112

Ajouté par Serghei Mihai (congés, retour 15/05) il y a plus de 9 ans

agenda: holidays are not filtered by service for disponibility bar

Voir les différences:

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) \

Formats disponibles : Unified diff