Skip to content

Tags are created case-sensitive but tag filters are case-insensitive #1269

@mkne

Description

@mkne

When adding tags to parts it might happen that someone enters a tag name with just a difference in upper or lower case of letters. For example a tag might be "newTag" but a user accidentally might type "newtag" which will create a new tag with that name. So in future you will have "newTag" and "newtag" in the dropdown list of available tags.

Image

Now when you want to filter for parts with the wrong tag "RoHs" also the parts with tag "RoHS" will show up.
Filter settings:
Image

Filter result:
Image

Possible solutions:

  1. harmonize tags (some websites always store tags in lower case) (not my preferred solution as some users might use Camel Case for their tags)
  2. discipline users to not create duplicate tags with wrong spelling (more difficult, the bigger your user base is) or only allow predefined tags (normal users are not allowed to create new tags)
  3. having something like "alternative names" in manufacturer or category where you can define different variants of spelling for a tag (I already use this heavily for manufacturers and categories because we import a lot from different info providers)
  4. ... (maybe someone has an even better solution)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions