Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
thalia
concrexit
Commits
5ef5112a
Verified
Commit
5ef5112a
authored
May 28, 2019
by
Sébastiaan Versteeg
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix filter of events cards
parent
3ee093de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
website/events/templatetags/event_cards.py
website/events/templatetags/event_cards.py
+1
-1
No files found.
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