Commit 41c1831f authored by Luuk Scholten's avatar Luuk Scholten
Browse files

Also add events sorting to newsletter preview

parent 2f3813e7
......@@ -21,6 +21,8 @@ def preview(request, pk):
return render(request, 'newsletters/email.html', {
'newsletter': newsletter,
'agenda_events': newsletter.newsletterevent_set.all().order_by(
'main_partner': main_partner,
'lang_code': request.LANGUAGE_CODE
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