You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "mariana-marcal-santana (via GitHub)" <gi...@apache.org> on 2025/04/01 20:49:08 UTC

Re: [PR] Implement multisort in DAGs table [airflow]

mariana-marcal-santana commented on code in PR #47849:
URL: https://github.com/apache/airflow/pull/47849#discussion_r2023657181


##########
airflow/ui/src/pages/DagsList/DagsList.tsx:
##########
@@ -166,8 +166,7 @@ export const DagsList = () => {
     searchParams.get(NAME_PATTERN_PARAM) ?? undefined,
   );
 
-  const [sort] = sorting;
-  const orderBy = sort ? `${sort.desc ? "-" : ""}${sort.id}` : "-last_run_start_date";
+  const orderBy = new URLSearchParams(globalThis.location.search).getAll("sort");

Review Comment:
   Thanks for the feedback, I'll start working on this asap!



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org