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)
101101 $ this ->getSolrResource (),
102102 $ storeId );
103103 } elseif ($ isCategoryPage ) {
104+ $ applicationContext
105+ ->setCategoryConfig ($ this ->getCurrentStoreConfig ()->getCategoryConfig ());
104106 $ factory = new CategoryRequestFactory (
105107 $ applicationContext ,
106108 $ this ->getSolrResource (),
Original file line number Diff line number Diff line change @@ -265,7 +265,8 @@ public function getCategoryConfig()
265265 $ this ->_getConfigFlag ($ prefix . 'use_in_search_results ' ),
266266 intval ($ this ->_getConfig ($ prefix . 'max_number_results ' )),
267267 $ 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 ' )
269270 );
270271 }
271272 return $ this ->_category ;
Original file line number Diff line number Diff line change 1515
1616$ installer ->setConfigData ('integernet_solr/results/show_outofstock ' , Mage::getStoreConfig ('cataloginventory/options/show_out_of_stock ' ));
1717$ 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 ' ));
1819
1920Mage::getModel ('index/process ' )
2021 ->load ('integernet_solr ' , 'indexer_code ' )
You can’t perform that action at this time.
0 commit comments