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

[5.x]: SearchScore return null - Graphql #15513

Closed
The-Dan-Main opened this issue Aug 9, 2024 · 1 comment
Closed

[5.x]: SearchScore return null - Graphql #15513

The-Dan-Main opened this issue Aug 9, 2024 · 1 comment
Labels

Comments

@The-Dan-Main
Copy link

What happened?

Description

When you try to get the searchScore through GraphQL, it always returns null. In the OrderBy parameter, it does not acknowledge "searchScore", but "score", which is fine, but the "score" attribute on entries does not exists.

Steps to reproduce

1.Graphql entries with searchScore on a search Query

Expected behavior

to return the score for each entry, which came back from the search

Actual behavior

The attribute does always return null

Craft CMS version

5.3.1

PHP version

7.3.10

Operating system and version

Plesk Obsidian with Debian Base

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Thanks for reporting that! Craft 5.3.2 is out with a fix.

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

No branches or pull requests

2 participants