You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bo...@apache.org on 2017/06/07 07:04:28 UTC

incubator-airflow git commit: [AIRFLOW-1281] Sort variables by key field by default

Repository: incubator-airflow
Updated Branches:
  refs/heads/master ae5c53b6c -> 6b890d157


[AIRFLOW-1281] Sort variables by key field by default

Closes #2347 from skudriashev/airflow-1281


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/6b890d15
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/6b890d15
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/6b890d15

Branch: refs/heads/master
Commit: 6b890d157c402bbbeddc69ac4ad86b22889f813b
Parents: ae5c53b
Author: Stanislav Kudriashev <st...@gmail.com>
Authored: Wed Jun 7 09:04:21 2017 +0200
Committer: Bolke de Bruin <bo...@xs4all.nl>
Committed: Wed Jun 7 09:04:21 2017 +0200

----------------------------------------------------------------------
 airflow/www/views.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/6b890d15/airflow/www/views.py
----------------------------------------------------------------------
diff --git a/airflow/www/views.py b/airflow/www/views.py
index aadd200..746ae42 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -2223,6 +2223,7 @@ class VariableView(wwwutils.DataProfilingMixin, AirflowModelView):
     column_list = ('key', 'val', 'is_encrypted',)
     column_filters = ('key', 'val')
     column_searchable_list = ('key', 'val')
+    column_default_sort = ('key', False)
     form_widget_args = {
         'is_encrypted': {'disabled': True},
         'val': {