File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,8 @@ public function getSolrRequest($requestMode = self::REQUEST_MODE_AUTODETECT)
101
101
$ this ->getSolrResource (),
102
102
$ storeId );
103
103
} elseif ($ isCategoryPage ) {
104
+ $ applicationContext
105
+ ->setCategoryConfig ($ this ->getCurrentStoreConfig ()->getCategoryConfig ());
104
106
$ factory = new CategoryRequestFactory (
105
107
$ applicationContext ,
106
108
$ this ->getSolrResource (),
Original file line number Diff line number Diff line change @@ -265,7 +265,8 @@ public function getCategoryConfig()
265
265
$ this ->_getConfigFlag ($ prefix . 'use_in_search_results ' ),
266
266
intval ($ this ->_getConfig ($ prefix . 'max_number_results ' )),
267
267
$ this ->_getConfigFlag ($ prefix . 'fuzzy_is_active ' ),
268
- floatval ($ this ->_getConfig ($ prefix . 'fuzzy_sensitivity ' ))
268
+ floatval ($ this ->_getConfig ($ prefix . 'fuzzy_sensitivity ' )),
269
+ $ this ->_getConfig ($ prefix . 'show_outofstock ' )
269
270
);
270
271
}
271
272
return $ this ->_category ;
Original file line number Diff line number Diff line change 15
15
16
16
$ installer ->setConfigData ('integernet_solr/results/show_outofstock ' , Mage::getStoreConfig ('cataloginventory/options/show_out_of_stock ' ));
17
17
$ installer ->setConfigData ('integernet_solr/autosuggest/show_outofstock ' , Mage::getStoreConfig ('cataloginventory/options/show_out_of_stock ' ));
18
+ $ installer ->setConfigData ('integernet_solr/category/show_outofstock ' , Mage::getStoreConfig ('cataloginventory/options/show_out_of_stock ' ));
18
19
19
20
Mage::getModel ('index/process ' )
20
21
->load ('integernet_solr ' , 'indexer_code ' )
You can’t perform that action at this time.
0 commit comments