Adding a new select to allow user to chose the output order (ASC, DESC)
This commit is contained in:
parent
331e8497d6
commit
d87679e0eb
|
|
@ -113,14 +113,16 @@
|
|||
<input type="hidden" name="operator" value="<=" />
|
||||
<input type="text" name="value" size="6" maxlength="4" onchange="sql_update()" />
|
||||
</p>
|
||||
<p>Results per page :
|
||||
<p>
|
||||
<label class="label20">Results per page :</label>
|
||||
<select name="resultsperpage" size="1">
|
||||
<option value="20">20</option>
|
||||
<option value="50">50</option>
|
||||
<option value="100">100</option>
|
||||
</select>
|
||||
</p>
|
||||
<p>Ordered by
|
||||
<p>
|
||||
<label class="label20">Ordered by</label>
|
||||
<select name="orderby" size="1">
|
||||
<option value="biblio.title">Title</option>
|
||||
<option value="biblio.author">Author</option>
|
||||
|
|
@ -130,6 +132,13 @@
|
|||
<option value="biblio.timestamp desc">Acquisition date</option>
|
||||
</select>
|
||||
</p>
|
||||
<p>
|
||||
<label class="label20">Order :</label>
|
||||
<select name="desc_or_asc" size="1">
|
||||
<option value="ASC">Ascending</option>
|
||||
<option value="DESC">Descending</option>
|
||||
</select>
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
<input type="submit" value="Start search" class="button catalogue" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue