fix order_by selected
This commit is contained in:
parent
bf9b928620
commit
8211feb33b
|
@ -13,9 +13,9 @@
|
||||||
<br>Tags: <input type="text" name="tags">
|
<br>Tags: <input type="text" name="tags">
|
||||||
<br>Order by:
|
<br>Order by:
|
||||||
<select name="order_by">
|
<select name="order_by">
|
||||||
<option value="creation_date"{% if order_by == 'creation_date' %} selected{% endif %}>Creation date</option>
|
<option value="creation_date"{% if order_by == 'id' %} selected{% endif %}>Creation date</option>
|
||||||
<option value="last_post"{% if order_by == 'last_post' %} selected{% endif %}>Last post</option>
|
<option value="last_post"{% if order_by == 'latest_post_date' %} selected{% endif %}>Last post</option>
|
||||||
<option value="next_live"{% if order_by == 'next_live' %} selected{% endif %}>Next live</option>
|
<option value="next_live"{% if order_by == 'live_time' %} selected{% endif %}>Next live</option>
|
||||||
</select>
|
</select>
|
||||||
<select name="order_way">
|
<select name="order_way">
|
||||||
<option value="desc"{% if order_way == 'desc' %} selected{% endif %}>Descending</option>
|
<option value="desc"{% if order_way == 'desc' %} selected{% endif %}>Descending</option>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user