You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by jl...@apache.org on 2016/06/04 16:03:09 UTC
incubator-airflow git commit: [AIRFLOW-114] Sort plugins dropdown
Repository: incubator-airflow
Updated Branches:
refs/heads/master 0535d1714 -> 612c3b0c7
[AIRFLOW-114] Sort plugins dropdown
Closes #1499 from varantz/sorting_plugins_in_dropdown.
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/612c3b0c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/612c3b0c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/612c3b0c
Branch: refs/heads/master
Commit: 612c3b0c74ad7fb3be33b83f0f3f60ed84b1dae5
Parents: 0535d17
Author: Varant Zanoyan <va...@airbnb.com>
Authored: Sat Jun 4 12:02:15 2016 -0400
Committer: jlowin <jl...@users.noreply.github.com>
Committed: Sat Jun 4 12:02:20 2016 -0400
----------------------------------------------------------------------
airflow/www/app.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/612c3b0c/airflow/www/app.py
----------------------------------------------------------------------
diff --git a/airflow/www/app.py b/airflow/www/app.py
index 1726046..5f772a9 100644
--- a/airflow/www/app.py
+++ b/airflow/www/app.py
@@ -111,7 +111,7 @@ def create_app(config=None):
admin.add_view(v)
for bp in flask_blueprints:
app.register_blueprint(bp)
- for ml in menu_links:
+ for ml in sorted(menu_links, key=lambda x: x.name):
admin.add_link(ml)
integrate_plugins()