fix order_by selected

This commit is contained in:
iou1name 2018-10-11 12:50:46 -04:00
parent bf9b928620
commit 8211feb33b

View File

@ -13,9 +13,9 @@
<br>Tags: <input type="text" name="tags">
<br>Order by:
<select name="order_by">
<option value="creation_date"{% if order_by == 'creation_date' %} selected{% endif %}>Creation date</option>
<option value="last_post"{% if order_by == 'last_post' %} selected{% endif %}>Last post</option>
<option value="next_live"{% if order_by == 'next_live' %} selected{% endif %}>Next live</option>
<option value="creation_date"{% if order_by == 'id' %} selected{% endif %}>Creation date</option>
<option value="last_post"{% if order_by == 'latest_post_date' %} selected{% endif %}>Last post</option>
<option value="next_live"{% if order_by == 'live_time' %} selected{% endif %}>Next live</option>
</select>
<select name="order_way">
<option value="desc"{% if order_way == 'desc' %} selected{% endif %}>Descending</option>