From 8cac4ebae2f7e44ab388588cb9e49a4baf4623d5 Mon Sep 17 00:00:00 2001 From: Akshay Jagadeesh Date: Fri, 16 Aug 2013 13:19:59 -0700 Subject: [PATCH] Working on sorting dropdown commentables --- lms/templates/discussion/_filter_dropdown.html | 1 + 1 file changed, 1 insertion(+) diff --git a/lms/templates/discussion/_filter_dropdown.html b/lms/templates/discussion/_filter_dropdown.html index c09f295b11..a51467eade 100644 --- a/lms/templates/discussion/_filter_dropdown.html +++ b/lms/templates/discussion/_filter_dropdown.html @@ -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)}