mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +08:00
Fixed projects ordering in sidebar on team page
This commit is contained in:
parent
be8c7e01e2
commit
2269299b61
1 changed files with 1 additions and 1 deletions
|
@ -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