From 0fddaaa6eabf7aa875a660b6e98d1e680d003976 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Sun, 21 Oct 2012 14:11:22 +0200 Subject: another sco --- meetingtools/apps/stats/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meetingtools/apps/stats/views.py b/meetingtools/apps/stats/views.py index 4fcca75..6a0c1ae 100644 --- a/meetingtools/apps/stats/views.py +++ b/meetingtools/apps/stats/views.py @@ -210,7 +210,7 @@ def room_minutes_api(request,rid): return HttpResponseForbidden("You can only look at statistics for your own rooms!") with ac_api_client(request) as api: - p = {'sort': 'asc','sort1': 'date-created','filter-type': 'meeting','filter-sco-id': room.sco_id} + p = {'sort': 'asc','sort1': 'date-created','filter-type': 'meeting','filter-sco-id': room.sco.sco_id} form = StatCaledarForm(request.GET) if not form.is_valid(): -- cgit v1.1