diff --git a/mayan/apps/document_indexing/api.py b/mayan/apps/document_indexing/api.py index 1f5826432a..b8cde915f6 100644 --- a/mayan/apps/document_indexing/api.py +++ b/mayan/apps/document_indexing/api.py @@ -28,6 +28,7 @@ def update_indexes(document): """ Update or create all the index instances related to a document """ + # TODO: convert this fuction into a manager method warnings = [] @@ -48,6 +49,8 @@ def delete_indexes(document): Delete all the index instances related to a document """ + # TODO: convert this fuction into a manager method + warnings = [] for index_node in document.node_instances.all():