Open ghost opened 4 years ago
Was just discussing on Discord, the global search page still has issues with some of these characters.
ham/bacon
does not escape the /
character and results in a blank and broken webpage. The only workaround is to manually escape it by searching for ham%2Fbacon
instead. Most users would not know to do this or would realize why the search bar suddenly disappeared.Foo-Bar
. Searching with the keywords Foo-Bar
or Foo Bar
would not match the scene title, but somehow searching FooBar
instead would work. This workaround is not at all obvious either.Sasha X-Ray
and Sasha Xray
as aliases on StashDB. Searching for Sasha X-Ray
or Sasha Xray
only returns scenes with that one particular spelling as the scene alias and not the other. If search is going to ignore separators in titles, it should behave consistently across all other fields as well.
If a search string contains e.g.
ham/bacon
this will end up ashambacon
, which makes a match unlikely. Separators like comma, dash, slash, should be replaced with space instead.