Working on sorting dropdown commentables

This commit is contained in:
Akshay Jagadeesh
2013-08-16 13:19:59 -07:00
committed by Giulio Gratta
parent 5cb1b2594f
commit 8cac4ebae2

View File

@@ -2,6 +2,7 @@
<%! import json %>
<%def name="render_dropdown(map)">
${map["children"].sort()}
% for child in map["children"]:
% if child in map["entries"]:
${render_entry(map["entries"], child)}