Skip to content

Commit

Permalink
MAGETWO-65339: [Backport] - [Performance] Optimize "Is Salable" check…
Browse files Browse the repository at this point in the history
… on Category page for Configurable Product - for 2.1.6
  • Loading branch information
OlgaVasyltsun committed Mar 10, 2017
1 parent dfdbd60 commit d18cc7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ public function getUsedProductCollection($product)
)->setProductFilter(
$product
);
if ($this->getStoreFilter($product)) {
if ($this->getStoreFilter($product) !== null) {
$collection->addStoreFilter($this->getStoreFilter($product));
}

Expand Down

0 comments on commit d18cc7b

Please sign in to comment.