shish/shimmie2

Remove tags with 0 uses

Closed this issue · 2 comments

Is your feature request related to a problem? Please describe.
Sometimes tags are miss-typed but after correcting them, the miss-typed tag is still in the database. These empty tags are also shown as suggestions when entering a tag.

Describe the solution you'd like
Functionality to clear empty tags from the DB. If it is a simple SQL Script, my admin can execute it, but we are not sure if that breaks anything.

Describe alternatives you've considered

  • Delete tags from the database when they reach 0 uses
  • Don't show tags that have 0 uses as suggestions

Tags with 0 uses showing up in autocomplete was a bug, fixed in 1b6d854

For deleting unused tags - in the tag_tools extension there is a "Recount Tag Use" button which ensures tags are actually unused (there have in the past been issues which caused the counter to get out of sync), and then deletes any that are at 0 after being recounted

Wasn't aware it did that! Thanks!