In my magento "advanced search" I have some attributes to be chosen via a dropwdown box. When the user loads the page all the fields default to "all".
array_unshift($options, array('value'=>'', 'label'=>Mage::helper('catalogsearch')->__('All')));
What I need to do is to give a default value to just one of the fields, for example I want "color" to default to "red", so that the user has to change it manually if he wants to search for "green" or "yellow" or "all".
I tried defining the needed attributes as "default" in the config section but this only seems to work in defining an attribute in the admin interface, not in the search.