Switch to side-by-side view
--- a/Allura/allura/ext/admin/admin_main.py +++ b/Allura/allura/ext/admin/admin_main.py @@ -347,7 +347,7 @@ @expose('json:') def get_trove_children(self, trove_id, **kw): - cats = M.TroveCategory.query.find(dict(trove_parent_id=int(trove_id))).all() + cats = M.TroveCategory.query.find(dict(trove_parent_id=int(trove_id))).sort('fullname').all() return dict(cats = [dict(id=c.trove_cat_id,label=c.fullname) for c in cats]) def _add_trove(self, type, new_trove):