Skip to content

Dealing with upper-case special search terms #1303

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brirush84
Copy link
Collaborator

Right now, typing "System:adventuron" into the search bar provides results but just searches for the words 'system' and 'adventuron'. Typing "system:adventuron" correctly returns games in the adventuron system.

This update is intended to reduce the incoming data to lowercase. I've tested it in codespace and it seems to work. I had an earlier pull request that ended up making all text input lowercase. This update only changes words in search right before they're checked if they're a special term or not.

I was worried it might mess up non-standard characters, but it seems like we have trouble with non-standard characters anyway. For instance, searching for "年" doesn't bring up 年獸文字冒險遊戲 | The Beast, Nian: A Chinese Text Adventure.

This is my first pull request in a while (I took a github class for certification and want to see if it helped make this all make more sense), so feel free to let me know if this is the wrong way to do things.

@brirush84 brirush84 requested a review from dfabulich July 7, 2025 00:46
@alice-blue
Copy link
Contributor

See also #500

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

Successfully merging this pull request may close these issues.

2 participants