mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-22 14:54:38 +08:00
Fix experiment carts sorting by number of completed tasks [SCI-10390] (#7213)
This commit is contained in:
parent
802ebb68a8
commit
5da0076eb8
2 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ export default {
|
|||
}
|
||||
|
||||
columns.push({
|
||||
field: 'total_tasks',
|
||||
field: 'completed_tasks',
|
||||
headerName: this.i18n.t('experiments.card.completed_task'),
|
||||
cellRenderer: CompletedTasksRenderer,
|
||||
sortable: true,
|
||||
|
|
|
@ -77,7 +77,7 @@ module Lists
|
|||
code: 'experiments.id',
|
||||
archived_on: 'COALESCE(experiments.archived_on, projects.archived_on)',
|
||||
updated_at: 'experiments.updated_at',
|
||||
total_tasks: 'task_count',
|
||||
completed_tasks: 'completed_task_count',
|
||||
description: 'experiments.description'
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue