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 score is always 1 when using extendedSearch and "include" match type #522

Closed
baibonjwa opened this issue Dec 14, 2020 · 1 comment · Fixed by #525 · May be fixed by usernamerandom11/JokeAPI#38 or usernamerandom11/JokeAPI#39
Closed
Labels

Comments

@baibonjwa
Copy link

baibonjwa commented Dec 14, 2020

Describe the bug

image

The score is always 1 and I cannot sort the results. Is this a bug or expected behavior?

Version

6.4.3

Minimal Reproduction

Demo: https://jsfiddle.net/baibonjwa/dcoL1nth/17/

@baibonjwa baibonjwa added the bug label Dec 14, 2020
@skearney6
Copy link
Contributor

Yes! This one was messing me up big time. I see that the scoring for this looks flipped in the code. I'm going to send a PR for that - hopefully it will be accepted quickly. 🤞

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