You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/05/14 21:59:57 UTC
[airflow] branch v1-10-test updated: [AIRFLOW-4052] Allow filtering
using "event" and "owner" in "Log" view (#4881)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v1-10-test by this push:
new 7eba52b [AIRFLOW-4052] Allow filtering using "event" and "owner" in "Log" view (#4881)
7eba52b is described below
commit 7eba52b460d398fb8c39196f23ee6a25a8cd4866
Author: Xiaodong <xd...@hotmail.com>
AuthorDate: Sat Mar 9 07:24:51 2019 +0800
[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 6ea21c1..49cb7d2 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')