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
commit 57871027ab15a72e70bfb2694c7b87c3b554ae67 Author: Ace Haidrey <[email protected]> AuthorDate: Mon May 4 15:00:02 2020 -0700 Prevent clickable sorting on non sortable columns in TI view (#8681) Co-authored-by: Ace Haidrey <[email protected]> (cherry-picked from b31ad51) --- airflow/www_rbac/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airflow/www_rbac/views.py b/airflow/www_rbac/views.py index e78b61b..7c601ba 100644 --- a/airflow/www_rbac/views.py +++ b/airflow/www_rbac/views.py @@ -2646,6 +2646,8 @@ class TaskInstanceModelView(AirflowModelView): 'unixname', 'priority_weight', 'queue', 'queued_dttm', 'try_number', 'pool', 'log_url'] + order_columns = [item for item in list_columns if item not in ['try_number', 'log_url']] + search_columns = ['state', 'dag_id', 'task_id', 'execution_date', 'hostname', 'queue', 'pool', 'operator', 'start_date', 'end_date']
