From b361ebf49d2f9ddd93e1ac3f2983e21f05dbab5f Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Fri, 8 Mar 2019 11:38:22 -0600 Subject: [PATCH] Ensure PTL candidate list is sorted Current ordering of projects is random. This updates the template to make sure they are always in alphabetical order. Change-Id: I9b9526e3a5ddd42545a086b4b7a0fe03923915ed Signed-off-by: Sean McGinnis --- doc/source/_exts/ptl.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/_exts/ptl.jinja b/doc/source/_exts/ptl.jinja index 9ac169ab..ba4f3751 100644 --- a/doc/source/_exts/ptl.jinja +++ b/doc/source/_exts/ptl.jinja @@ -1,6 +1,6 @@ {{ election.capitalize() }} PTL Candidates ====================== -{% for project in projects %}{% if project != 'TC' %} +{% for project in projects|sort %}{% if project != 'TC' %} * {{ project.replace('_', ' ') }} {% for candidate in candidates[project] %}