Skip to content

[Bug]: Deleting child tag breaks search #1325

@j777ferrol-debug

Description

@j777ferrol-debug

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

9.5.6

Operating System & Version

Windows 11

Description

I have a library where i am tagging images by the fandom they belong to. I am using tags for each fandom who share the parent tag "fandom". However when i deleted the tag "misc" (child of fandom), despite the misc tag disappearing from the image they are still tagged as fandom. They do not show up when i search "not fandom", and when i deleted the rest of their tags they do not show up as "special:untagged" either.

Expected Behavior

Deleting a child tag should remove the parent tag as well

Steps to Reproduce

  1. create tag "A"
  2. create tag "B" that inherits from tag A
  3. mark a file as tag "B". do not mark it as tag A
  4. delete tag B
  5. search for tag A. the file appears anyway despite having no tags

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions