order by to sort, minor

This commit is contained in:
Sanj 2011-10-21 03:01:11 +01:00
parent ff2bdf3bbb
commit 77b1eedd57

View File

@ -94,6 +94,7 @@
</div> </div>
{% endfor %} {% endfor %}
<!--is this select okay, my forms are a bit weak, do we need action and method here?--><form class="selectMenu" id="listForm" method="post" action=""> <!--is this select okay, my forms are a bit weak, do we need action and method here?--><form class="selectMenu" id="listForm" method="post" action="">
<span>Sort:</span><!--Can i avoid a p tag here to keep it inline --> <span>Sort:</span><!--Can i avoid a p tag here to keep it inline -->
<select id="orderBySelect">Select <select id="orderBySelect">Select
{% for s in default_sorts %} {% for s in default_sorts %}
@ -106,6 +107,7 @@
<option value="mostpopular">Most popular</option> <option value="mostpopular">Most popular</option>
--> -->
</select> </select>
<input id="page_no" name="page_no" type="hidden" value="1" /> <input id="page_no" name="page_no" type="hidden" value="1" />
<input id="object_id" name="object_id" type="hidden" value="" /> <input id="object_id" name="object_id" type="hidden" value="" />
<input type="text" placeholder="search list" id="searchList" name="field" class="searchListField"/> <input type="text" placeholder="search list" id="searchList" name="field" class="searchListField"/>