Skip to content

Commit 6a32d02

Browse files
authored
Merge pull request #365 from DKAndreasen/feature/ai-stuff-fix-sql-queries
bugfix AI-stuff update of export quries
2 parents 01aec7f + aae748f commit 6a32d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data-export/export_documents_with_meta.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ left join (
167167
left join paragraph__os2loop_documents_tbl_desc as tbl_desc on tbl_content.entity_id = tbl_desc.entity_id
168168
) as tbl on n_ddc.os2loop_documents_document_conte_target_id = tbl.entity_id
169169
-- where para_ifd.`type` = 'os2loop_documents_table' -- returns 3 of 16 records
170-
left join `local_loop`.`paragraph__os2loop_documents_title` as doc_title on n_ddc.os2loop_documents_document_conte_target_id = doc_title.entity_id
170+
left join paragraph__os2loop_documents_title as doc_title on n_ddc.os2loop_documents_document_conte_target_id = doc_title.entity_id
171171
left join paragraph__os2loop_documents_description as doc_desc on n_ddc.os2loop_documents_document_conte_target_id = doc_desc.entity_id -- all para doc desc relates to bundle step_by_step
172172
-- we miss content on step by step paragraphs, (we only have description so far) this must be added post querying using the dedicated query export_folding_parts_of_documents after it have been post-processed by the preprocess_loop_document_folding_parts.py
173173
-- we ignore table of contents as this does not add any additional information conveying text

0 commit comments

Comments
 (0)