Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
5ef5112a
Verified
Commit
5ef5112a
authored
May 28, 2019
by
Sébastiaan Versteeg
Browse files
Fix filter of events cards
parent
3ee093de
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/events/templatetags/event_cards.py
View file @
5ef5112a
...
...
@@ -12,7 +12,7 @@ def render_event_cards(context, events=None):
if
events
is
None
:
events
=
Event
.
objects
.
filter
(
published
=
True
,
start__
l
te
=
timezone
.
now
()
+
timezone
.
timedelta
(
hours
=
24
),
start__
g
te
=
timezone
.
now
()
-
timezone
.
timedelta
(
hours
=
24
),
end__gte
=
timezone
.
now
()
).
order_by
(
'start'
)[:
6
]
...
...
Luko van der Maas
@lukomaas
mentioned in commit
a6d28c9b
·
May 30, 2019
mentioned in commit
a6d28c9b
mentioned in commit a6d28c9b06f7b4d724f1e0148beaa9fb0301480d
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment