Skip to content

Commit 7f37538

Browse files
committed
ACP2E-748: Layered navigation filters don't work when "show out of stock" is enabled
1 parent 6c44d17 commit 7f37538

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

app/code/Magento/CatalogInventory/Model/StockStatusApplier.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* Search Result Applier getters and setters
1212
*
1313
* @deprecated - as the implementation has been reverted during the fix of ACP2E-748
14+
* @see \Magento\InventoryCatalog\Plugin\Catalog\Model\ResourceModel\Product\CollectionPlugin
1415
*/
1516
class StockStatusApplier implements StockStatusApplierInterface
1617
{
@@ -26,6 +27,7 @@ class StockStatusApplier implements StockStatusApplierInterface
2627
*
2728
* @param bool $status
2829
* @deprecated
30+
* @see \Magento\InventoryCatalog\Plugin\Catalog\Model\ResourceModel\Product\CollectionPlugin::beforeSetOrder
2931
*/
3032
public function setSearchResultApplier(bool $status): void
3133
{
@@ -37,6 +39,7 @@ public function setSearchResultApplier(bool $status): void
3739
*
3840
* @return bool
3941
* @deprecated
42+
* @see \Magento\InventoryCatalog\Plugin\Catalog\Model\ResourceModel\Product\CollectionPlugin::beforeSetOrder
4043
*/
4144
public function hasSearchResultApplier() : bool
4245
{

app/code/Magento/CatalogInventory/Model/StockStatusApplierInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* Search Result Applier interface.
1212
*
1313
* @deprecated - as the implementation has been reverted during the fix of ACP2E-748
14+
* @see \Magento\InventoryCatalog\Plugin\Catalog\Model\ResourceModel\Product\CollectionPlugin
1415
*/
1516
interface StockStatusApplierInterface
1617
{
@@ -20,6 +21,7 @@ interface StockStatusApplierInterface
2021
*
2122
* @param bool $status
2223
* @deprecated
24+
* @see \Magento\InventoryCatalog\Plugin\Catalog\Model\ResourceModel\Product\CollectionPlugin::beforeSetOrder
2325
*/
2426
public function setSearchResultApplier(bool $status): void;
2527

@@ -28,6 +30,7 @@ public function setSearchResultApplier(bool $status): void;
2830
*
2931
* @return bool
3032
* @deprecated
33+
* @see \Magento\InventoryCatalog\Plugin\Catalog\Model\ResourceModel\Product\CollectionPlugin::beforeSetOrder
3134
*/
3235
public function hasSearchResultApplier() : bool;
3336
}

0 commit comments

Comments
 (0)