diff options
Diffstat (limited to 'ctrack/core/views.py')
-rw-r--r-- | ctrack/core/views.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ctrack/core/views.py b/ctrack/core/views.py index 3984b2d..5fc94ec 100644 --- a/ctrack/core/views.py +++ b/ctrack/core/views.py @@ -30,11 +30,11 @@ def home_page(request): caf_users = get_user_model().objects.all() no_orgs = Organisation.objects.count() no_people = Person.objects.count() - no_singledatetime_events = SingleDateTimeEvent.objects.count() - no_meetings = SingleDateTimeEvent.objects.filter(type_descriptor="MEETING").count() - no_emails = SingleDateTimeEvent.objects.filter(type_descriptor="EMAIL").count() - no_phone_calls = SingleDateTimeEvent.objects.filter(type_descriptor="PHONE_CALL").count() - no_video_conferences = SingleDateTimeEvent.objects.filter(type_descriptor="VIDEO_CALL").count() + no_singledatetime_events = SingleDateTimeEvent.objects.filter(private=False).count() + no_meetings = SingleDateTimeEvent.objects.filter(type_descriptor="MEETING", private=False).count() + no_emails = SingleDateTimeEvent.objects.filter(type_descriptor="EMAIL", private=False).count() + no_phone_calls = SingleDateTimeEvent.objects.filter(type_descriptor="PHONE_CALL", private=False).count() + no_video_conferences = SingleDateTimeEvent.objects.filter(type_descriptor="VIDEO_CALL", private=False).count() no_cafs = CAF.objects.count() no_oes = Organisation.objects.filter(oes=True).count() no_essential_services = EssentialService.objects.count() |