Fix folder visibility in navigator [SCI-10482]

This commit is contained in:
sboursen-scinote 2024-03-20 15:41:13 +01:00
parent c628fc5175
commit 9dca8e7c4b

View file

@ -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)