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

Get correct total value when a callback is defined #332

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tobz-nz
Copy link
Contributor

@tobz-nz tobz-nz commented Nov 1, 2023

Q A
Bug fix? yes
New feature? no
BC breaks? no / maybe?
Related Issue n/a
Need Doc update no

Describe your change

This PR overwrites that to always return the correct result count from the engine's results.

What problem is this fixing?

The base Scout Builder class skips the engine's total hits value when a callback method is defined in the search() method.

The base Scout `Builder` class skips the egine's total hits value when a callback method is defined in the `search()` method.

This PR overwrites that to always return the correct result count from the engine's results.
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.

None yet

1 participant