mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
add missing index task
This commit is contained in:
parent
4fb5dce5e7
commit
e2bea3aee3
@ -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…
x
Reference in New Issue
Block a user