Skip to content

Commit

Permalink
Merge pull request #1195 from RickAcb/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-kuendig authored Nov 28, 2024
2 parents 48c9a91 + 78bdc4c commit 8392a9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/ProductsFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ protected function setPriceRange()
protected function setBrands()
{
$brands = DB::table('offline_mall_products')
->where('offline_mall_products.published', '=', true)
->whereIn('offline_mall_category_product.category_id', $this->categories->pluck('id'))
->select('offline_mall_brands.*')
->distinct()
Expand Down

0 comments on commit 8392a9f

Please sign in to comment.