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: