mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
added isnull filters for document types and correspondents
This commit is contained in:
parent
198354d07d
commit
f7f78d80b7
1 changed files with 2 additions and 0 deletions
|
|
@ -98,12 +98,14 @@ class DocumentFilterSet(FilterSet):
|
|||
"added": DATE_KWARGS,
|
||||
"modified": DATE_KWARGS,
|
||||
|
||||
"correspondent": ["isnull"],
|
||||
"correspondent__id": ID_KWARGS,
|
||||
"correspondent__name": CHAR_KWARGS,
|
||||
|
||||
"tags__id": ID_KWARGS,
|
||||
"tags__name": CHAR_KWARGS,
|
||||
|
||||
"document_type": ["isnull"],
|
||||
"document_type__id": ID_KWARGS,
|
||||
"document_type__name": CHAR_KWARGS,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue