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

Seperate name and display name and filter case-insensitive #180

Closed
2 tasks done
Voltstro opened this issue Mar 7, 2024 · 0 comments
Closed
2 tasks done

Seperate name and display name and filter case-insensitive #180

Voltstro opened this issue Mar 7, 2024 · 0 comments

Comments

@Voltstro
Copy link
Owner

Voltstro commented Mar 7, 2024

Currently, project filtering is case-sensitive. If a user visits https://projects.voltstro.dev/UnityWebBrowser all is good, the project page will load, but if a user visits https://projects.voltstro.dev/unitywebbrowser, VoltProjects will come back with a 404 error.

image

This is happening because the unique name column is what is used for getting what project a page belongs to. The name column is also currently used for display reasons.

image

Normally, to compare strings Case-Insensitive, you use .Equals(comparing, StringComparison.InvariantCultureIgnoreCase), but with EF, that does not work, as we need to use Collations.

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

1 participant