Add "product_type_id" to $filterable in Products #1064
justtomisfine
started this conversation in
Feature Requests
Replies: 2 comments
-
Thanks for reporting, we're looking at making some improvements to search indexing, but if you need to add this in the meantime, you can tap into the filterable fields. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sounds great! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Expected Behaviour:
Using
Product::search('query')->where('product_type_id', type_id)
would return a search filtered by product id.Actual Behaviour:
Get the following error:
Steps To Reproduce:
Try to filter a search with
where
method usingproduct_type_id
Upgrade steps from 13.1 to X
Run
php artisan getcandy:meilisearch:setup
This adds newly added
product_type_id
to index(May have to run
php artisan getcandy:search:index
as well)Beta Was this translation helpful? Give feedback.
All reactions