From 39686dfb7c4d025610dc7b5699730954818faaa2 Mon Sep 17 00:00:00 2001 From: Pierre Jeambrun Date: Tue, 5 Nov 2024 22:40:28 +0800 Subject: [PATCH] Disable XCom list ordering by execution_date (#43680) * Disable XCom list ordering by execution_date * Update airflow/www/views.py Co-authored-by: Kaxil Naik --------- Co-authored-by: Kaxil Naik (cherry picked from commit c96b618b60ed049658470a9696479c0df36957af) --- airflow/www/views.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/airflow/www/views.py b/airflow/www/views.py index 5e8ef6bb7f08c..bb88da2cdfa9c 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -4024,6 +4024,17 @@ class XComModelView(AirflowModelView): list_columns = ["key", "value", "timestamp", "dag_id", "task_id", "run_id", "map_index", "execution_date"] base_order = ("dag_run_id", "desc") + order_columns = [ + "key", + "value", + "timestamp", + "dag_id", + "task_id", + "run_id", + "map_index", + # "execution_date", # execution_date sorting is not working and crashing the UI, disabled for now. + ] + base_filters = [["dag_id", DagFilter, list]] formatters_columns = {