Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Fix the callback to modify the database query #103

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

Conversation

aravindpanicker
Copy link

@aravindpanicker aravindpanicker commented May 20, 2020

Modify the engine to look for $queryCallback instead of $callback.

If you look at the query() method in Laravel\Scout\Builder, callback is being set to $this->queryCallback

Screenshot 2020-05-20 at 4 27 55 PM

Modify the engine to look for $queryCallback instead of $callback.
glebgoloborodko pushed a commit to GetCodeDev/laravel-scout-mysql-driver that referenced this pull request May 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant