Skip to content

Commit d657c1a

Browse files
committed
fix
1 parent 2eb46b7 commit d657c1a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

services/storage/src/simcore_service_storage/modules/db/file_meta_data.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ def _list_filter_with_partial_file_id_stmt(
9494
),
9595
)
9696
)
97+
else:
98+
project_ids = user_or_project_filter.project_ids
99+
if project_ids:
100+
conditions.append(
101+
file_meta_data.c.project_id.in_(f"{_}" for _ in project_ids)
102+
)
97103

98104
# Optional filters
99105
if file_id_prefix:

0 commit comments

Comments
 (0)