NoteStar пре 5 година
родитељ
комит
b7889983cc
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      vendor/fancyecommerce/fecshop/services/product/ProductMysqldb.php

+ 1 - 0
vendor/fancyecommerce/fecshop/services/product/ProductMysqldb.php

@@ -1165,6 +1165,7 @@ class ProductMysqldb extends Service implements ProductInterface
 
         $product_attrs = $this->_productModel->find()
                     ->select('attr_group_info')
+                    ->groupBy('spu')
                     ->where($where)->asArray()
                     ->all();