Skip to content

[Bug]: Regression: 'Add Tags' search result is no longer ordered by exactness #687

Closed
@Tishj

Description

@Tishj

Checklist

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

TagStudio Version

Alpha 9.5

Operating System & Version

Windows 10

Description

Previously, when searching for a tag, results would be ordered (probably as a fortunate coincidence) by how exact the match is

If we for example take these words:
Hand
Handlebar
Handle

Previously a search for h up to hand would get Hand, handl and handle result in Handle and handleb up to handlebar would result in Handlebar

Now it seems to be random, or based on the order the tags were created in, a search for hand could have Handlebar as the first result.
The order in which the results are given is relevant when 'enter' is used to select the tag, which I would think is the preferred way of adding tags

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: HighAn important issue requiring attentionTagStudio: SearchThe TagStudio search engineTagStudio: TagsRelating to the TagStudio tag systemType: BugSomething isn't working as intendedType: QoLA quality of life (QoL) enhancement or suggestionType: UI/UXUser interface and/or user experience

    Type

    No type

    Projects

    Status

    ✅ Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions