# HG changeset patch # User wbell # Date 1271900790 0 # Node ID 7f698d86732141efa357a0c1ca9404e1f5151e34 # Parent 91aabd647610f222bd5ad3fb26970aa03a0a5f42 Sort the list of configurations on the configuration page. diff --git a/bitten/web_ui.py b/bitten/web_ui.py --- 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)