Skip to content

fix Builder.php - not actually using returned results from afterRawSearchCallback #919

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

Merged

Conversation

The-Rabak
Copy link
Contributor

Fix using afterRawSearchCallback without actually getting back the returned results.
If the purpose of the afterRawSearchCallback is to allow changes to be made on preprocessed raw results then this part was probably left out by mistake.

I believe this was the intended use for this callback that was unintentionally missed.

Fix using afterRawSearchCallback without actually getting back the returned results.
If the purpose of the afterRawSearchCallback is to allow changes to be made on preprocessed raw results then this part was probably left out by mistake.
@taylorotwell taylorotwell marked this pull request as draft March 27, 2025 17:19
use original results if afterRawSearchCallback doesn't return anything

Co-authored-by: Günther Debrauwer <[email protected]>
@The-Rabak
Copy link
Contributor Author

@gdebrauwer thank you for the catch, you're definitely right, applied and committed your suggestion.

@The-Rabak The-Rabak marked this pull request as ready for review March 27, 2025 17:35
@taylorotwell taylorotwell merged commit 6fac3e5 into laravel:10.x Mar 27, 2025
20 checks passed
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.

3 participants