mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-02-16 00:19:32 -06:00
dont add extra content query
This commit is contained in:
@@ -724,7 +724,10 @@ def add_to_index(sender, document, **kwargs) -> None:
|
||||
index.add_or_update_document(document)
|
||||
if document.root_document_id is not None and document.root_document is not None:
|
||||
# keep in sync when a new version is consumed.
|
||||
index.add_or_update_document(document.root_document)
|
||||
index.add_or_update_document(
|
||||
document.root_document,
|
||||
effective_content=document.content,
|
||||
)
|
||||
|
||||
|
||||
def run_workflows_added(
|
||||
|
||||
Reference in New Issue
Block a user