mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-23 10:39:25 -05:00
Fixed api issue (some parameter name got renamed)
This commit is contained in:
parent
fb1dcb6e08
commit
03beca7838
4
src/documents/filters.py
Normal file → Executable file
4
src/documents/filters.py
Normal file → Executable file
@ -66,9 +66,9 @@ class DocumentFilterSet(FilterSet):
|
||||
tags__empty = BooleanFilter(
|
||||
field_name="tags", lookup_expr="isnull", distinct=True)
|
||||
document_type__name = CharFilter(
|
||||
name="document_type__name", **CHAR_KWARGS)
|
||||
field_name="document_type__name", **CHAR_KWARGS)
|
||||
document_type__slug = CharFilter(
|
||||
name="document_type__slug", **CHAR_KWARGS)
|
||||
field_name="document_type__slug", **CHAR_KWARGS)
|
||||
|
||||
class Meta:
|
||||
model = Document
|
||||
|
Loading…
x
Reference in New Issue
Block a user