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

The "loser" filter of the advanced game search incorrectly includes some draws in the result #16610

Closed
interrupt-routine opened this issue Dec 16, 2024 · 2 comments

Comments

@interrupt-routine
Copy link

Exact URL of where the bug happened

for example:
https://lichess.org/@/Toadofsky/search?players.a=toadofsky&players.loser=toadofsky&status=34&sort.field=d&sort.order=desc

the status parameter could also be 32 (for stalemates) or left out altogether (but then you have to scroll down a bit to see the first draw in the results).

Steps to reproduce the bug

Make an advanced search. Fill the Loser field and hit the search button. Some draws will appear in the result. Specifying Draw or Stalemate in the Result field will isolate them.

What did you expect to happen?

Specifying a loser should never include draws; filling the Loser field should be mutually exclusive with indicating the Result field as being Draw or Stalemate and should return no results; since it's a logical impossibility.

What happened instead?

Some draws (not all of them, which suggests it is not a simple case of all draws being counted as defeats) appear in the result. This does not happen when filling the Winner field instead of the Loser one.

bug

Operating system

irrelevant

Browser and version (or alternate access method)

irrelevant

Additional information

No response

@fitztrev
Copy link
Member

Thanks for reporting. Duplicate of #3815.

@interrupt-routine
Copy link
Author

interrupt-routine commented Dec 17, 2024

@fitztrev
how is that a duplicate of this issue ? as you can see in the screenshot, the opposing player is neither an AI nor an anonymous player.

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

No branches or pull requests

3 participants