Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Improve search on website to make games with special characters searchable #723

Open
natanox opened this issue Dec 12, 2024 · 3 comments

Comments

@natanox
Copy link

natanox commented Dec 12, 2024

Right now games like Pokemon can't be properly looked up via website due to the ´ above e, which can't be easily written by everyone everywhere on localized keyboards.
Likewise if the game got some special characters in-between like : or - it will often prevent users to find the game if they don't write it exactly the right way.

The client does not seem to have this issue.

@danieljohnson2
Copy link

I should note that the client cheats; it does the search in Python code, not with a database query. We seem to be getting away with that for a personal library, but the Lutris database may be too big for this.

@strycore
Copy link
Member

I do not have the definitive answer to this but I'll leave these links here to avoid slipping to dark territories

https://www.postgresql.org/docs/current/sql-createtsconfig.html
https://www.postgresql.org/docs/current/unaccent.html

@strycore
Copy link
Member

Ok, sorry, even those are too dark.
Let's go with this: https://docs.djangoproject.com/en/5.1/ref/contrib/postgres/search/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants