Skip to content
Snippets Groups Projects
Commit 352d7f79 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Order public positions by order date

parent 0de34be1
Branches
Tags
No related merge requests found
......@@ -77,7 +77,7 @@ def add_public_registrations_table(sender, **kwargs):
order_positions = OrderPosition.objects.filter(
order__event=sender,
item__pk__in=sender.settings.get('public_registrations_items')
)
).order_by('order__datetime')
public_order_positions = [
op for op in order_positions
if op.meta_info_data.get('question_form_data', {}).get('public_registrations_public_registration')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment