From 7642d8d472eb96dc9b71bed98966e23706c66212 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Thu, 15 Nov 2018 10:36:37 +0100 Subject: [PATCH] Fix sorting on projects table [SCI-2860] --- app/services/projects_overview_service.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/services/projects_overview_service.rb b/app/services/projects_overview_service.rb index 08aa876a4..51d578234 100644 --- a/app/services/projects_overview_service.rb +++ b/app/services/projects_overview_service.rb @@ -139,9 +139,9 @@ class ProjectsOverviewService '2' => 'projects.name', '3' => 'projects.created_at', '4' => 'projects.visibility', - '5' => 'projects.user_count', - '6' => 'projects.experiment_count', - '7' => 'projects.task_count' + '5' => 'user_count', + '6' => 'experiment_count', + '7' => 'task_count' } end