mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
add missing index task
This commit is contained in:
parent
4fb5dce5e7
commit
e2bea3aee3
1 changed files with 4 additions and 0 deletions
|
|
@ -106,6 +106,10 @@ def modify_tags(doc_ids, add_tags, remove_tags):
|
||||||
document_id=doc, tag_id=tag) for (doc,tag) in itertools.product(affected_docs, add_tags)
|
document_id=doc, tag_id=tag) for (doc,tag) in itertools.product(affected_docs, add_tags)
|
||||||
], ignore_conflicts=True)
|
], ignore_conflicts=True)
|
||||||
|
|
||||||
|
async_task(
|
||||||
|
"documents.tasks.bulk_index_documents",
|
||||||
|
document_ids=affected_docs
|
||||||
|
)
|
||||||
async_task("documents.tasks.bulk_rename_files", document_ids=affected_docs)
|
async_task("documents.tasks.bulk_rename_files", document_ids=affected_docs)
|
||||||
|
|
||||||
return "OK"
|
return "OK"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue