mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 07:45:32 +01:00
Fix: add root tag filtering for tag list page consistency, fix toggle all (#11208)
This commit is contained in:
parent
ce112cda0e
commit
d718d7d29f
6 changed files with 117 additions and 3 deletions
|
|
@ -92,6 +92,12 @@ class TagFilterSet(FilterSet):
|
|||
"name": CHAR_KWARGS,
|
||||
}
|
||||
|
||||
is_root = BooleanFilter(
|
||||
label="Is root tag",
|
||||
field_name="tn_parent",
|
||||
lookup_expr="isnull",
|
||||
)
|
||||
|
||||
|
||||
class DocumentTypeFilterSet(FilterSet):
|
||||
class Meta:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue