File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
app/code/Magento/Catalog/Model/ResourceModel/Product Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -2067,16 +2067,12 @@ protected function _applyZeroStoreProductLimitations()
2067
2067
2068
2068
$ categoryProductSelect = $ this ->getConnection ()->select ()
2069
2069
->from ($ this ->getTable ('catalog_category_product ' ))
2070
- ->reset (Select::ORDER )
2071
- ->reset (Select::LIMIT_COUNT )
2072
- ->reset (Select::LIMIT_OFFSET )
2073
- ->reset (Select::COLUMNS )
2074
- ->columns ([
2075
- "product_id " => "product_id " ,
2076
- "min_position " => new Zend_Db_Expr ("MIN(position) " )
2070
+ >columns ([
2071
+ 'product_id ' => 'product_id ' ,
2072
+ 'min_position ' => new Zend_Db_Expr ('MIN(position) ' )
2077
2073
])
2078
- ->where (" category_id IN (?) " , $ categories )
2079
- ->group (" product_id " );
2074
+ ->where (' category_id IN (?) ' , $ categories )
2075
+ ->group (' product_id ' );
2080
2076
2081
2077
$ joinCond = 'cat_pro.product_id = e.entity_id ' ;
2082
2078
You can’t perform that action at this time.
0 commit comments