mirror of
https://github.com/james-m-jordan/morphik-core.git
synced 2025-05-09 19:32:38 +00:00
bug fix
This commit is contained in:
parent
8051d7ede4
commit
d7b9b68eb6
@ -370,9 +370,10 @@ class PostgresDatabase(BaseDatabase):
|
||||
system_metadata_filter = self._build_system_metadata_filter(system_filters)
|
||||
|
||||
# Construct where clauses
|
||||
document_ids_linked = ', '.join([('\'' + doc_id + '\'') for doc_id in document_ids])
|
||||
where_clauses = [
|
||||
f"({access_filter})",
|
||||
f"external_id IN ({', '.join([('\'' + doc_id + '\'') for doc_id in document_ids])})"
|
||||
f"external_id IN ({document_ids_linked})"
|
||||
]
|
||||
|
||||
if system_metadata_filter:
|
||||
|
Loading…
x
Reference in New Issue
Block a user