Repository: incubator-airflow Updated Branches: refs/heads/master 4764646b1 -> a52123dca
[AIRFLOW-1282] Fix known event column sorting Closes #2350 from skudriashev/airflow-1282 Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/a52123dc Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/a52123dc Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/a52123dc Branch: refs/heads/master Commit: a52123dcaaf8e833c695e7fca12cf2a5dd31f291 Parents: 4764646 Author: Stanislav Kudriashev <stas.kudrias...@gmail.com> Authored: Wed Jun 7 11:43:13 2017 +0200 Committer: Bolke de Bruin <bo...@xs4all.nl> Committed: Wed Jun 7 11:43:13 2017 +0200 ---------------------------------------------------------------------- airflow/www/views.py | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/a52123dc/airflow/www/views.py ---------------------------------------------------------------------- diff --git a/airflow/www/views.py b/airflow/www/views.py index 746ae42..b401434 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -2187,6 +2187,13 @@ class KnownEventView(wwwutils.DataProfilingMixin, AirflowModelView): 'reported_by', ) column_default_sort = ("start_date", True) + column_sortable_list = ( + 'label', + ('event_type', 'event_type.know_event_type'), + 'start_date', + 'end_date', + ('reported_by', 'reported_by.username'), + ) class KnownEventTypeView(wwwutils.DataProfilingMixin, AirflowModelView):