What I need to do is, if a person search for a product then if products found the layout need to be
layered navigation but if there were no results then its layout should be
page/1column.phtml and it will display
One of the solution I came around is to override the
indexAction() where I can get whether
0 or not. On that basis how could I load layout differently?
If there's another better approach to this, that would be helpful too.