FeatureFuel
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_

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests