From 20216a0d9dd32f8f9cfed2863e1d11058a7e4896 Mon Sep 17 00:00:00 2001 From: Aubin <60398825+aubin-tchoi@users.noreply.github.com> Date: Mon, 23 Dec 2024 16:28:48 +0100 Subject: [PATCH] read the parents from data_sources_nodes intead of data_sources_documents or tables (#9614) --- core/src/stores/postgres.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/stores/postgres.rs b/core/src/stores/postgres.rs index 2d8475681fd2..b81f9b38818e 100644 --- a/core/src/stores/postgres.rs +++ b/core/src/stores/postgres.rs @@ -1996,7 +1996,7 @@ impl Store for PostgresStore { let sql = format!( "SELECT dsd.id, dsd.created, dsd.document_id, dsd.timestamp, dsd.tags_array, \ - dsd.parents, dsd.source_url, dsd.hash, dsd.text_size, dsd.chunk_count, \ + dsn.parents, dsd.source_url, dsd.hash, dsd.text_size, dsd.chunk_count, \ dsn.title, dsn.mime_type \ FROM data_sources_documents dsd \ INNER JOIN data_sources_nodes dsn ON dsn.document=dsd.id \