Skip to content

Commit

Permalink
Disable XCom list ordering by execution_date (#43680) (#43696)
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]>
(cherry picked from commit c96b618)
  • Loading branch information
pierrejeambrun authored and utkarsharma2 committed Dec 4, 2024
1 parent ae03ab4 commit be22e95
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 @@ -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 = {
Expand Down

0 comments on commit be22e95

Please sign in to comment.