kyungjunleeme commented on code in PR #53804:
URL: https://github.com/apache/airflow/pull/53804#discussion_r2237870155
##########
airflow-core/src/airflow/ui/src/pages/TaskInstances/TaskInstances.tsx:
##########
@@ -188,7 +188,7 @@ export const TaskInstances = () => {
const { setTableURLState, tableURLState } = useTableURLState();
const { pagination, sorting } = tableURLState;
const [sort] = sorting;
- const orderBy = sort ? [`${sort.desc ? "-" : ""}${sort.id}`] :
["-start_date"];
+ const orderBy = sort ? [`${sort.desc ? "-" : ""}${sort.id}`] :
["-map_index", "-start_date"];
Review Comment:
I added an additional sorting condition because sorting by start_date alone
does not properly order the map_index.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]