Commit d985d505 authored by Robert's avatar Robert

Show running events where upcoming events are shown, refs #341

parent 95bfca5d
Pipeline #1958 failed with stage
in 7 minutes and 51 seconds
......@@ -55,7 +55,7 @@ class Association(models.QuerySet):
return self.filter(entity_type=groups.Group.content_type)
def filter_upcoming(self, time=None):
return self.filter(content__time__gte=time or
return self.filter(content__until_time__gt=time or
def filter_user_content(self, user):
qs = self
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment