bartervg / barter.vg

Track and hold discussion on Barter.vg bugs, enhancements, and other issues
https://barter.vg
MIT License
21 stars 4 forks source link

Search does not use previous titles #81

Closed bartervg closed 4 years ago

bartervg commented 4 years ago

Describe the bug Searching Robothorium redirects to https://barter.vg/i/40983/ Searching Robothorium: Sci-fi Dungeon Crawler leads to search results where Robothorium is 7th on the list despite Robothorium: Sci-fi Dungeon Crawler being an exact match of a previous title. The previous titles are saved in the database and correctly match when adding tradables.

Steps to reproduce the bug

  1. Find a game that has changed titles like Robothorium
  2. Search for the game using the old title
  3. Not redirected to exact match

Expected behavior If the previous title is saved and it's a distinct exact match, searchers should be redirected to the profile page. Optional, display previous titles in the search results.

Screenshots (if applicable)

Robothorium

image ... image

Robothorium: Sci-fi Dungeon Crawler

image ... image

Device (if relevant) N/A

Additional context Thanks to luckz

Luckz commented 4 years ago

It's more "search has issues with special characters" where ":" is an example of one.

bartervg commented 4 years ago

It shouldn't, special characters are (sometimes) ignored. Search results for Robothorium: Sci-fi Dungeon Crawler and Robothorium Scifi Dungeon Crawler are identical.

bartervg commented 4 years ago

image leads to an exact match image

Full search results image

However, it is fragile. Anything less than an exact match leads to image