From 7eba52b460d398fb8c39196f23ee6a25a8cd4866 Mon Sep 17 00:00:00 2001 From: Xiaodong Date: Sat, 9 Mar 2019 07:24:51 +0800 Subject: [PATCH] [AIRFLOW-4052] Allow filtering using "event" and "owner" in "Log" view (#4881) In the RBAC UI, users can check Logs. But they could only use "dag_id", "task_id", "execution_date", or "extra" to filter, while filtering using "event" and "owner" will be very useful (to allow users to check specific events that happened, or check what a specific user did). --- airflow/www_rbac/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/www_rbac/views.py b/airflow/www_rbac/views.py index 6ea21c113a501e..49cb7d224f8764 100644 --- a/airflow/www_rbac/views.py +++ b/airflow/www_rbac/views.py @@ -2622,7 +2622,7 @@ class LogModelView(AirflowModelView): list_columns = ['id', 'dttm', 'dag_id', 'task_id', 'event', 'execution_date', 'owner', 'extra'] - search_columns = ['dag_id', 'task_id', 'execution_date', 'extra'] + search_columns = ['dag_id', 'task_id', 'event', 'execution_date', 'owner', 'extra'] base_order = ('dttm', 'desc')