Commit cd74fae1 authored by Luko van der Maas's avatar Luko van der Maas
Browse files

Merge branch 'fix/event-cards-filter' into 'master'

Fix filter of events cards

See merge request !1276
parents 3ee093de 5ef5112a
...@@ -12,7 +12,7 @@ def render_event_cards(context, events=None): ...@@ -12,7 +12,7 @@ def render_event_cards(context, events=None):
if events is None: if events is None:
events = Event.objects.filter( events = Event.objects.filter(
published=True, published=True, + timezone.timedelta(hours=24), - timezone.timedelta(hours=24),
).order_by('start')[:6] ).order_by('start')[:6]
Supports Markdown
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