From 2f440cade24e31444233df822b7751711f1305f1 Mon Sep 17 00:00:00 2001 From: stumpylog <797416+stumpylog@users.noreply.github.com> Date: Wed, 2 Sep 2026 10:11:23 -0700 Subject: [PATCH] Handles the rebase from the trash changes --- src/paperless_ai/vector_store.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/paperless_ai/vector_store.py b/src/paperless_ai/vector_store.py index b45ce33c5..629d55c4d 100644 --- a/src/paperless_ai/vector_store.py +++ b/src/paperless_ai/vector_store.py @@ -149,8 +149,7 @@ def _build_where( # too (e.g. an install with an enormous trash), not just IN. PermittedIdsTable.load(conn, values) clauses.append( - f"{f.key} {sql_op} " - f"(SELECT id FROM {PermittedIdsTable.TABLE_NAME})", + f"{f.key} {sql_op} (SELECT id FROM {PermittedIdsTable.TABLE_NAME})", ) continue placeholders = ",".join("?" for _ in values)