mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 15:36:22 +08:00
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:
commit
4d6282510d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue