From e4a4630ee2d08613fba4875d1e49803790fe4cce Mon Sep 17 00:00:00 2001 From: Vyacheslav Tumanov Date: Thu, 3 Aug 2023 09:32:40 +0500 Subject: [PATCH] UBER-628: allow reordering when sort is set to manual in the same group (#3553) Signed-off-by: Vyacheslav Tumanov --- plugins/task-resources/src/components/kanban/KanbanView.svelte | 2 +- .../tracker-resources/src/components/issues/KanbanView.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/task-resources/src/components/kanban/KanbanView.svelte b/plugins/task-resources/src/components/kanban/KanbanView.svelte index dd49dd8917..2b9d3d1951 100644 --- a/plugins/task-resources/src/components/kanban/KanbanView.svelte +++ b/plugins/task-resources/src/components/kanban/KanbanView.svelte @@ -218,7 +218,7 @@ if (groupValue === undefined) { return undefined } - if ((doc as any)[groupByKey] === groupValue) { + if ((doc as any)[groupByKey] === groupValue && viewOptions.orderBy[0] !== 'rank') { return } return { diff --git a/plugins/tracker-resources/src/components/issues/KanbanView.svelte b/plugins/tracker-resources/src/components/issues/KanbanView.svelte index 5060424838..55ee93528a 100644 --- a/plugins/tracker-resources/src/components/issues/KanbanView.svelte +++ b/plugins/tracker-resources/src/components/issues/KanbanView.svelte @@ -242,7 +242,7 @@ if (groupValue === undefined) { return undefined } - if ((doc as any)[groupByKey] === groupValue) { + if ((doc as any)[groupByKey] === groupValue && viewOptions.orderBy[0] !== 'rank') { return } return {