This is an automated email from the ASF dual-hosted git repository. utkarsharma pushed a commit to branch sync_2-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit be22e95ed359905642353ccf51ba2b07869346ec Author: Pierre Jeambrun <[email protected]> AuthorDate: Tue Nov 5 23:28:16 2024 +0800 Disable XCom list ordering by execution_date (#43680) (#43696) * Disable XCom list ordering by execution_date * Update airflow/www/views.py Co-authored-by: Kaxil Naik <[email protected]> --------- Co-authored-by: Kaxil Naik <[email protected]> (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 5e8ef6bb7f0..bb88da2cdfa 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 = {
