mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 19:51:01 +08:00
Fix displaying of archived folders in active view [SCI-8542] (#5513)
This commit is contained in:
parent
25c2e3baa6
commit
9819425ba1
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ module Navigator
|
|||
object&.project_folder
|
||||
end
|
||||
current_team.project_folders.where(parent_folder: folder)
|
||||
.where(project_folders: { archived: archived })
|
||||
.left_outer_joins(:projects, project_folders: {})
|
||||
.joins(
|
||||
"LEFT OUTER JOIN (#{Project.viewable_by_user(current_user, current_team).to_sql}) " \
|
||||
|
|
Loading…
Reference in a new issue