Closed andreoda closed 6 months ago
The FindDuplicate -API (see the browser/network-tab) only searches for exact matches.
"恋はりんりん" does not correspond to any album titles: https://vocadb.net/Search?searchType=Album&filter="恋%E2%80%8Bは%E2%80%8Bり%E2%80%8Bん%E2%80%8Bり%E2%80%8Bん"
The form works as intended when the whole title is inputted: "恋はりんりん/浮かぶハンバーガー"
Additionally, the example string seems to contain ZWSP-characters: https://en.wikipedia.org/wiki/Zero-width_space
(Notepad++ --> View --> Show Symbol --> Show All Characters)
This probably caused the initial confusion as these characters make the strings different even though they look the same.
Website
VocaDB
Describe the bug
On the submit page for albums, the "search for duplicates" system does not seem to work in some cases. Specific case with the album name "恋はりんりん".
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Normally, it should reveal that there are already albums with that name.
Screenshots
Desktop
Additional context
The normal search gives the proper results: https://vocadb.net/Search?filter=%E6%81%8B%E2%80%8B%E3%81%AF%E2%80%8B%E3%82%8A%E2%80%8B%E3%82%93%E2%80%8B%E3%82%8A%E2%80%8B%E3%82%93%E2%80%8B&searchType=Album