A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
support `tags__id__none` for advanced search
Michael Shamoon94e32005ca1e
diff --git a/src/documents/index.py b/src/documents/index.pyindex fe40dc1a8..e9c340697 100644--- a/src/documents/index.py+++ b/src/documents/index.py@@ -143,6 +143,9 @@ class DelayedQuery:elif k == "tags__id__all":for tag_id in v.split(","):criterias.append(query.Term("tag_id", tag_id))+ elif k == "tags__id__none":+ for tag_id in v.split(","):+ criterias.append(query.Not(query.Term("tag_id", tag_id)))elif k == "document_type__id":criterias.append(query.Term("type_id", v))elif k == "correspondent__isnull":