Condition with Low Search status not work

Hi Low,

I using this code, it work:

{exp:low_search:form ...}
<select name="search:status">
<option value="not closed">All</option>
<option value="open" {if 'open' == '{low_search_status}'}selected{/if}>Open</option>
<option value="closed" {if 'closed' == '{low_search_status}'}selected{/if}>Closed</option>
</select>
{/exp:low_search:form}

But the conditional:

{if 'open' == '{low_search_status}'}selected{/if}

not work, even I using another variable: {low_search_status},
{low_search_search:status}, {low_search:status}

Thank!
1 person has
this question
+1
Reply