Skip to content

Commit

Permalink
#737 Exception in Low stock report for product with another name on a…
Browse files Browse the repository at this point in the history
…dditional storeview
  • Loading branch information
AlexandrVolkov committed Mar 24, 2018
1 parent 890de21 commit a14f26d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private function joinCatalogProduct()
$this->getSelect()->joinLeft(
['product_entity_varchar_store' => $productEavVarcharTable],
'product_entity_varchar_store.entity_id = product_entity.entity_id ' .
'AND product_entity_varchar_store.store_id = ' . $this->filterStoreId .
'AND product_entity_varchar_store.store_id = ' . $this->filterStoreId . ' ' .
'AND product_entity_varchar_store.attribute_id = ' . $nameAttribute->getAttributeId(),
['product_name' => 'IFNULL(product_entity_varchar_store.value, product_entity_varchar.value)']
);
Expand Down

0 comments on commit a14f26d

Please sign in to comment.