From 9a2f2e77aaa88b4a4c0d6eba5b4f1f274374682b Mon Sep 17 00:00:00 2001 From: S Rishiraj <74849474+rishiraj-58@users.noreply.github.com> Date: Thu, 11 Dec 2025 18:11:06 +0530 Subject: [PATCH] fix(editor): Column order in workflow UNION query to fix sorting (#22026) Co-authored-by: Nikhil Kuriakose --- packages/@n8n/db/src/repositories/workflow.repository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@n8n/db/src/repositories/workflow.repository.ts b/packages/@n8n/db/src/repositories/workflow.repository.ts index 3796266ea2b..a79df5705a9 100644 --- a/packages/@n8n/db/src/repositories/workflow.repository.ts +++ b/packages/@n8n/db/src/repositories/workflow.repository.ts @@ -151,8 +151,8 @@ export class WorkflowRepository extends Repository { private buildBaseUnionQuery(workflowIds: string[], options: ListQuery.Options = {}) { // Common fields for both folders and workflows const commonFields = { - createdAt: true, updatedAt: true, + createdAt: true, id: true, name: true, } as const;