Skip to content
Snippets Groups Projects
Commit 17aa8f13 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix #1593

parent 28718452
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ indentation = ' ' * depth
<%
children = program.children.where(diploma: diploma)
# Limit to a global list of programs, for example on a location
children = children.where(id: all_programs) if all_programs
children = children.where(id: all_programs) if local_assigns[:all_programs]
%>
<% if children.any? %>
<%= indentation %> children:
......
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