Repository: incubator-airflow Updated Branches: refs/heads/v1-8-test ec1657556 -> f65ae9a70
[AIRFLOW-1281] Sort variables by key field by default Closes #2347 from skudriashev/airflow-1281 (cherry picked from commit 6b890d157c402bbbeddc69ac4ad86b22889f813b) Signed-off-by: Bolke de Bruin <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/f65ae9a7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/f65ae9a7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/f65ae9a7 Branch: refs/heads/v1-8-test Commit: f65ae9a70d990fd74d9252ab27cbed9954a36363 Parents: ec16575 Author: Stanislav Kudriashev <[email protected]> Authored: Wed Jun 7 09:04:21 2017 +0200 Committer: Bolke de Bruin <[email protected]> Committed: Wed Jun 7 09:04:42 2017 +0200 ---------------------------------------------------------------------- airflow/www/views.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/f65ae9a7/airflow/www/views.py ---------------------------------------------------------------------- diff --git a/airflow/www/views.py b/airflow/www/views.py index 5c45be6..13bbb70 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -2139,6 +2139,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': {
