Skip to content
Snippets Groups Projects
Commit 3ade97c8 authored by Sebastian Manger's avatar Sebastian Manger
Browse files

1693 Display top labels only if no childs are selected

* Important for old, 'migrated' cases
parent e2efebba
Branches
No related tags found
No related merge requests found
......@@ -167,6 +167,10 @@ class QuestionnaireParser(ConfiguredQuestionnaire):
selected_children_keyword, {}
)[0]
except (IndexError, KeyError):
yield {
'url': value[1],
'text': child_text
}
continue
# Load the configured question for the children and get their
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment