1
[Feature Request] Extend tag name unique constraint to owner, name and parent tag
Source: paperless-ngx/paperless-ngx#14349 · opened by @tinyoverflow
Description
Hello,
I'm using tags like bookshelfs, files and sections. For example:
• Real Estate / <Address> / Financing
• Vehicles / <Vehicle> / Maintenance
Unfortunately, the unique constrained for tag names is based on the owner and the name itself, so this is not possible:
• Real Estate / <Address 1> / Financing
• Real Estate / <Address 2> / Financing
because "Financing" can't exist two times with the same owner. In this case, they're subtags of different parent tags. Therefore I'd like to suggest to extend the unique constraint to also include the parent tag ID.
As long as we do not have a real Cabinet / File hierachy (#5253), tags are the closest thing to it (and it works well, imho).
What do you think about this?
Other
_No response_
Hello,
I'm using tags like bookshelfs, files and sections. For example:
• Real Estate / <Address> / Financing
• Vehicles / <Vehicle> / Maintenance
Unfortunately, the unique constrained for tag names is based on the owner and the name itself, so this is not possible:
• Real Estate / <Address 1> / Financing
• Real Estate / <Address 2> / Financing
because "Financing" can't exist two times with the same owner. In this case, they're subtags of different parent tags. Therefore I'd like to suggest to extend the unique constraint to also include the parent tag ID.
As long as we do not have a real Cabinet / File hierachy (#5253), tags are the closest thing to it (and it works well, imho).
What do you think about this?
Other
_No response_
No pledges yet. Be the first to back this.
Comments
Similar requests
[Feature Request] Option to Prevent Automatic Inclusion of Parent Tags in Workflows
10 votes · 0 comments
[Feature Request] Filter tags, correspondents, document types and storage paths by owner and permissions
1 vote · 0 comments
[Feature Request] Parent/Child "Tags" Arrangement
8 votes · 0 comments
AI-created tags/correspondents show as "Private" even with no document owner set
1 vote · 0 comments
[Feature Request] - Set tag label colour default to parent
3 votes · 0 comments
No comments yet.