Forums / Setup & design / Search byrange gives no result (3.10.1) ?
laurent le cadet
Monday 18 May 2009 11:59:12 pm
Hi,
I'm trying to search byrange with an integer attribute.My form looks like this:
<form action={"/content/advancedsearch/"|ezurl} method="get"> <input type="hidden" name="Content_search_attribute_byrange_classattribute_id[]" value="346" /> <input type="hidden" name="Content_search_attribute_byrange_from[]" value="1" /> <select name="Content_search_attribute_byrange_to[]" > <option value="100">All prices</option> {def $counter = '2' } {while ne( $counter, 21 )} <option value="{$counter}" >- {$counter} €</option> {set $counter=inc( $counter )} {/while} </select> <input id="searchbutton" class="button" type="submit" value="{'Search'|i18n('design/ezwebin/pagelayout')}" alt="Submit" /> </form>
...but the message is No result for "search by additional parameter"
I allowed empty search in the concerned site access ([SearchSettings]AllowEmptySearch=enabled).
Any idea?
Regards.
Laurent
Tuesday 26 May 2009 1:32:50 am
well...hum...the targeted attribute was not searchable...
Sorry for the messy post