This is an automated email from the ASF dual-hosted git repository.

rahulvats pushed a commit to branch v3-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-2-test by this push:
     new 101dec4f228 Change default sort to 'id' for list task instances 
(#64168) (#65297)
101dec4f228 is described below

commit 101dec4f228ae3ad29766e6130352e8f72bf2d12
Author: Rahul Vats <[email protected]>
AuthorDate: Wed Apr 15 17:32:49 2026 +0530

    Change default sort to 'id' for list task instances (#64168) (#65297)
    
    (cherry picked from commit e7ea925f2dc5b6975a7862fd8c01ef905d25c4b2)
    
    Co-authored-by: Pierre Jeambrun <[email protected]>
---
 airflow-core/src/airflow/ui/src/pages/TaskInstances/TaskInstances.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/airflow-core/src/airflow/ui/src/pages/TaskInstances/TaskInstances.tsx 
b/airflow-core/src/airflow/ui/src/pages/TaskInstances/TaskInstances.tsx
index c63cffd54c1..678f386f116 100644
--- a/airflow-core/src/airflow/ui/src/pages/TaskInstances/TaskInstances.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/TaskInstances/TaskInstances.tsx
@@ -235,7 +235,7 @@ export const TaskInstances = () => {
   });
   const { pagination, sorting } = tableURLState;
   const [sort] = sorting;
-  const orderBy = sort ? [`${sort.desc ? "-" : ""}${sort.id}`] : 
["-start_date", "-run_after"];
+  const orderBy = sort ? [`${sort.desc ? "-" : ""}${sort.id}`] : ["-id"];
 
   const filteredState = searchParams.getAll(STATE_PARAM);
   const filteredDagVersion = searchParams.get(DAG_VERSION_PARAM);

Reply via email to