Commit 8cac4eba by Akshay Jagadeesh Committed by Giulio Gratta

Working on sorting dropdown commentables

parent 5cb1b259
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<%! import json %> <%! import json %>
<%def name="render_dropdown(map)"> <%def name="render_dropdown(map)">
${map["children"].sort()}
% for child in map["children"]: % for child in map["children"]:
% if child in map["entries"]: % if child in map["entries"]:
${render_entry(map["entries"], child)} ${render_entry(map["entries"], child)}
......
Markdown is supported
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