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

[Bug Report] country query link and filter can provide wrong results #910

Closed
HereIam80 opened this issue Oct 28, 2020 · 2 comments · Fixed by #917
Closed

[Bug Report] country query link and filter can provide wrong results #910

HereIam80 opened this issue Oct 28, 2020 · 2 comments · Fixed by #917
Labels
bug Something isn't working
Milestone

Comments

@HereIam80
Copy link

Describe the bug
The country query link and filter is looking for each individual word in the countrys name instead of the full name. This behaviour gets unwanted results if you look for "United Kingdom" while also having "United States" entries in the database for example.

To Reproduce
Steps to reproduce the behavior:

  1. Have a performer with the country "United Kingdom" and a performer with the country "United States" in your database.
  2. set the filter in the performer tab to "Country includes united kingdom" or click on the flag of the performer.
  3. See the results

This would also be a problem for some other country combinations (Czech Republic, Dominican Republic).

Minor issue but it was the first thing I clicked when trying it out. ;-)

@HereIam80 HereIam80 added the help wanted Extra attention is needed label Oct 28, 2020
@SpedNSFW
Copy link
Contributor

I was about to say that you need to wrap it in quotes, so instead of United Kingdom, you'd need "United Kingdom", but that just introduces another, more important bug.

@HereIam80
Copy link
Author

You are right, I also got that message.

The quotes could be typed if you set the filter manually but clicking the flag would still be wrong though.

@WithoutPants WithoutPants added this to the Version 0.4.0 milestone Oct 30, 2020
@WithoutPants WithoutPants added bug Something isn't working and removed help wanted Extra attention is needed labels Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants