Merge pull request #2629 from aignatov-bio/ai-sci-4599-fix-ordering-for-projects-in-sidebar

Fixed projects ordering in sidebar on team page [SCI-4599]
This commit is contained in:
aignatov-bio 2020-06-01 11:19:29 +02:00 committed by GitHub
commit 4d6282510d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -317,7 +317,7 @@ class ProjectsController < ApplicationController
@current_team = current_team if current_team
@current_team ||= current_user.teams.first
@current_sort ||= 'new'
@projects_tree = current_user.projects_tree(@current_team, @current_sort)
@projects_tree = current_user.projects_tree(@current_team, 'atoz')
else
@projects_tree = []
end