Project

General

Profile

« Previous | Next » 

Revision 68a9fcc4

Added by Serghei Mihai over 9 years ago

agenda: availability bar doesn't care about events' services

View differences:

calebasse/agenda/views.py
632 632
                order_by('start_date')
633 633
        events = Event.objects.for_today(self.date) \
634 634
                .exclude(event_type_id=1) \
635
                .filter(participants=worker, services=self.service) \
635
                .filter(participants=worker) \
636 636
                .order_by('start_datetime') \
637 637
                .select_related() \
638 638
                .prefetch_related('participants', 'exceptions')
639 639
        eventswithact = EventWithAct.objects.for_today(self.date) \
640
                .filter(participants=worker, services=self.service) \
640
                .filter(participants=worker) \
641 641
                .order_by('start_datetime') \
642 642
                .select_related() \
643 643
                .prefetch_related('participants', 'exceptions',

Also available in: Unified diff