changeset 746:7f698d867321

Sort the list of configurations on the configuration page.
author wbell
date Thu, 22 Apr 2010 01:46:30 +0000
parents 91aabd647610
children 39cb92420716
files bitten/web_ui.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/web_ui.py
+++ b/bitten/web_ui.py
@@ -248,7 +248,7 @@
                         'platform': platform.name, 'status': 'pending'
                     })
 
-        data['configs'] = configs
+        data['configs'] = sorted(configs, key=lambda x:x['label'].lower())
         data['page_mode'] = 'overview'
 
         in_progress_builds = Build.select(self.env, status=Build.IN_PROGRESS)
Copyright (C) 2012-2017 Edgewall Software