Skip to content

Commit 3188830

Browse files
committed
Fix store id filter in catalogProductList SOAP method (OpenMage#2243)
1 parent 165f8ce commit 3188830

File tree

1 file changed

+1
-1
lines changed
  • app/code/core/Mage/Catalog/Model/Product

1 file changed

+1
-1
lines changed

app/code/core/Mage/Catalog/Model/Product/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function __construct()
9090
public function items($filters = null, $store = null)
9191
{
9292
$collection = Mage::getModel('catalog/product')->getCollection()
93-
->addStoreFilter($this->_getStoreId($store))
93+
->setStoreId($this->_getStoreId($store))
9494
->addAttributeToSelect('name');
9595

9696
$apiHelper = Mage::helper('api');

0 commit comments

Comments
 (0)