We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Love the package, thank you!
Right now I'm using this code in my Search Controller,
$results = \App\Product:: search() ->multiMatch( ['sku','title'], $searchTerm )->get();
However, I'd like to do something like this instead, so I can make sure it's only returning results where 'detail_value' IN [1],
$results = \App\Product:: whereHas('details', function($q) { $q->whereIn('detail_value',[1]); })-> ->search() ->multiMatch( ['sku','title'], $searchTerm )->get();
Any advice how to accomplish this is greatly appreciated! TIA
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Love the package, thank you!
Right now I'm using this code in my Search Controller,
However, I'd like to do something like this instead, so I can make sure it's only returning results where 'detail_value' IN [1],
Any advice how to accomplish this is greatly appreciated! TIA
The text was updated successfully, but these errors were encountered: