mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 18:46:52 +01:00
support tags__id__none for advanced search
This commit is contained in:
parent
204e14877d
commit
94e32005ca
1 changed files with 3 additions and 0 deletions
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue