From 0b629ffd3aa83a8a8f2e0ccdf56c94c41508ad62 Mon Sep 17 00:00:00 2001 From: colincoghill Date: Fri, 5 Jul 2013 11:52:16 +1200 Subject: [PATCH] Don't filter out groups that expired yesterday, it stops us seeing results from last semester. --- src/oasis/lib/Groups.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oasis/lib/Groups.py b/src/oasis/lib/Groups.py index 1bffab1..c3c5be0 100644 --- a/src/oasis/lib/Groups.py +++ b/src/oasis/lib/Groups.py @@ -263,8 +263,8 @@ def active_by_course(course_id): WHERE "ugroups"."active" = TRUE AND "groupcourses"."groupid" = "ugroups"."id" AND "groupcourses"."course" = %s - AND "ugroups"."period" = "periods"."id" - AND "periods"."finish" > NOW();;""", + AND "ugroups"."period" = "periods"."id";""", +# AND "periods"."finish" > NOW();;""", (course_id,)) groups = {} if ret: