mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-26 06:57:37 +00:00
Merge branch 'dev' into feature/ocr-templates
This commit is contained in:
69 files changed
+3087
-1082
No files matched your search
@@ -138,10 +138,6 @@ class Tag(MatchingModel):
|
||||
|
||||
return TagHierarchy(cls.objects.values_list("pk", "tn_parent_id"))
|
||||
|
||||
@property
|
||||
def parent_pk(self) -> int | None:
|
||||
return self.tn_parent_id
|
||||
|
||||
def get_parent(self) -> "Tag | None":
|
||||
return self.tn_parent
|
||||
|
||||
|
||||
Reference in new issue
Block a user