mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Fix folder visibility in navigator [SCI-10482]
This commit is contained in:
parent
c628fc5175
commit
9dca8e7c4b
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ module Navigator
|
|||
'project_folders.archived',
|
||||
"#{has_children_sql} AS has_children"
|
||||
).group('project_folders.id')
|
||||
.having("project_folders.archived = :archived OR #{has_children_sql}", archived: archived)
|
||||
.having('project_folders.archived = :archived', archived: archived)
|
||||
end
|
||||
|
||||
def fetch_experiments(object, archived = false)
|
||||
|
|
Loading…
Reference in a new issue