Skip to content

Commit

Permalink
Disable XCom list ordering by execution_date (apache#43680)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
pierrejeambrun and kaxil authored Nov 5, 2024
1 parent 58ceb32 commit c96b618
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3858,6 +3858,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 = {
Expand Down

0 comments on commit c96b618

Please sign in to comment.