From e2bea3aee38366011c49ca1e8ea04ab6a51b2ca1 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Mon, 28 Dec 2020 12:29:34 +0100 Subject: [PATCH] add missing index task --- src/documents/bulk_edit.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/documents/bulk_edit.py b/src/documents/bulk_edit.py index beb9c50f7..c2dc438bc 100644 --- a/src/documents/bulk_edit.py +++ b/src/documents/bulk_edit.py @@ -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) ], 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) return "OK"