From 06ba216f0273c8c0e07c7daae614af5aeb4c46a2 Mon Sep 17 00:00:00 2001 From: Faust1 Date: Thu, 4 Jan 2024 11:52:15 +0100 Subject: [PATCH] chore: added specified not sortable columns to tasks table --- src/app/tasks/services/tasks-index.service.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/tasks/services/tasks-index.service.ts b/src/app/tasks/services/tasks-index.service.ts index 8f5f49c49..51ea6cb21 100644 --- a/src/app/tasks/services/tasks-index.service.ts +++ b/src/app/tasks/services/tasks-index.service.ts @@ -101,7 +101,11 @@ export class TasksIndexService { } isNotSortableColumn(column: TaskSummaryColumnKey): boolean { - return this.isActionsColumn(column) || this.isObjectColumn(column) || this.isSelectColumn(column); + return this.isActionsColumn(column) || this.isObjectColumn(column) || this.isSelectColumn(column) || this.isSpecifiedNotSortableColumn(column); + } + + isSpecifiedNotSortableColumn(column: TaskSummaryColumnKey): boolean { + return column === 'countDataDependencies' || column === 'countParentTaskIds' || column === 'countExpectedOutputIds' || column === 'countRetryOfIds' || column === 'statusMessage'; } /**