mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 15:40:31 +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',
|
'project_folders.archived',
|
||||||
"#{has_children_sql} AS has_children"
|
"#{has_children_sql} AS has_children"
|
||||||
).group('project_folders.id')
|
).group('project_folders.id')
|
||||||
.having("project_folders.archived = :archived OR #{has_children_sql}", archived: archived)
|
.having('project_folders.archived = :archived', archived: archived)
|
||||||
end
|
end
|
||||||
|
|
||||||
def fetch_experiments(object, archived = false)
|
def fetch_experiments(object, archived = false)
|
||||||
|
|
Loading…
Reference in a new issue