Fix: add root tag filtering for tag list page consistency, fix toggle all (#11208)

This commit is contained in:
shamoon 2025-10-28 11:04:22 -07:00 committed by GitHub
parent ce112cda0e
commit d718d7d29f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 117 additions and 3 deletions

View file

@ -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: