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

Only publicly show registrations for selected items

parent 979ff24d
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,7 @@ def add_public_registrations_table(sender, **kwargs):
public_order_positions = [
op for op in order_positions
if op.meta_info_data.get('question_form_data', {}).get('public_registration') == "True"
and str(op.item.pk) in sender.settings.get('public_registrations_items')
]
public_registrations = [
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment