Skip to content

Search should match on exact titles first #20

@winterbird-code

Description

@winterbird-code

It seems that this plugin likes to match the longest title containing the search words.

Some examples:

  • "Saki" is matched as "Saki: Achiga Hen - Episode of Side-A"
  • "Sangatsu no Lion" is matched as "Sangatsu no Lion (2017)"
  • "Seikai no Senki" is matched as "Seikai no Senki II"

and so on. I think the matching logic would get much better if it first attempted to find an exact match before attempting current logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis PR or Issue describes or fixes something that isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions