mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-29 13:48:09 -06:00
Ensure add inbox tags also respects parents
This commit is contained in:
@@ -71,7 +71,7 @@ def add_inbox_tags(sender, document: Document, logging_group=None, **kwargs):
|
|||||||
else:
|
else:
|
||||||
tags = Tag.objects.all()
|
tags = Tag.objects.all()
|
||||||
inbox_tags = tags.filter(is_inbox_tag=True)
|
inbox_tags = tags.filter(is_inbox_tag=True)
|
||||||
document.tags.add(*inbox_tags)
|
document.add_nested_tags(inbox_tags)
|
||||||
|
|
||||||
|
|
||||||
def _suggestion_printer(
|
def _suggestion_printer(
|
||||||
|
|||||||
Reference in New Issue
Block a user