Skip to content

Commit

Permalink
[AIRFLOW-4052] Allow filtering using "event" and "owner" in "Log" view (
Browse files Browse the repository at this point in the history
#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).
  • Loading branch information
XD-DENG authored and kaxil committed May 14, 2020
1 parent 185cab5 commit 7eba52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/www_rbac/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 7eba52b

Please sign in to comment.