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

Issue #3402831: [sorting] Always set the multivalue's first value as long as it's not NULL #96

Conversation

codebymikey
Copy link

Original upstream issue: https://www.drupal.org/project/search_api_solr/issues/3402831

I have a list item that stores the value [0], however this means the first value resolves to 0, which means its skipped entirely and not added as a singular value since it's "empty".

We should change the logic to be more explicit, such that it only adds field values if they're not NULL, rather than check if they're empty.

@mkalkbrenner
Copy link
Owner

I fixed the docblock and committed the patch. Thank you!

@codebymikey codebymikey deleted the store-empty-numeric-first-value branch November 21, 2023 09:40
@codebymikey
Copy link
Author

Fixed in c6ff0b7

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

Successfully merging this pull request may close these issues.

2 participants