Magento catalog search broken not working
One day i have problem in magneto(version is 1.6) search. Its not work properly as i need.
So i have search in internet and i got code. I hope code will work.
step 1 ) Uncomment lines 149 and 150
step 2 ) Modify the line 172
change this line
$this->_productCollection = $this->getListBlock()->getLoadedProductCollection();
$this->_productCollection = Mage::getSingleton(‘catalogsearch/layer’)->getProductCollection();
when you will fix your code, goto the admin panel (System -> Index Management) and select all the
Indexes > Pick action is “Reindex data” > and the press “submit” button.
And also one thing in admin panel is catalog search setting
Goto the System -> Config -> Catalog -> “Catalog Search”
Here, you can change your search type like, fulltext or both as you need.
Now goto the frontside and check i hope its work.