Skip to content

Commit 9df9746

Browse files
committed
ACP2E-3419: [Cloud] products GraphQL query returns related products not assigned to current website
- Initial draft with test.
1 parent e0ece47 commit 9df9746

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/RelatedProductGraphQl/Model/Resolver/Batch/AbstractLikedProducts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use Magento\Framework\GraphQl\Query\Resolver\BatchResponse;
2020
use Magento\Framework\GraphQl\Query\Resolver\ContextInterface;
2121
use Magento\RelatedProductGraphQl\Model\DataProvider\RelatedProductDataProvider;
22-
use Magento\RelatedProductGraphQl\Model\RelatedProductsByStoreId;
22+
use Magento\RelatedProductGraphQl\Model\ResourceModel\RelatedProductsByStoreId;
2323

2424
/**
2525
* Resolve linked product lists.

app/code/Magento/RelatedProductGraphQl/Model/RelatedProductsByStoreId.php renamed to app/code/Magento/RelatedProductGraphQl/Model/ResourceModel/RelatedProductsByStoreId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\RelatedProductGraphQl\Model;
8+
namespace Magento\RelatedProductGraphQl\Model\ResourceModel;
99

1010
use Magento\Catalog\Model\ResourceModel\Product\Link;
1111
use Magento\Framework\App\ResourceConnection;

0 commit comments

Comments
 (0)