move search for documents to first position in select box

This commit is contained in:
Uwe Steinmann 2021-04-22 09:29:42 +02:00
parent 6245a53bae
commit 7d4ed3a975

View File

@ -230,9 +230,9 @@ function typeahead() { /* {{{ */
<td><?php printMLText("search_resultmode");?>:</td>
<td>
<select name="resultmode" class="form-control">
<option value="3" <?php echo ($resultmode=='3') ? "selected" : ""; ?>><?php printMLText("search_resultmode_both");?>
<option value="2"<?php echo ($resultmode=='2') ? "selected" : ""; ?>><?php printMLText("search_mode_folders");?>
<option value="1"<?php echo ($resultmode=='1') ? "selected" : ""; ?>><?php printMLText("search_mode_documents");?>
<option value="2"<?php echo ($resultmode=='2') ? "selected" : ""; ?>><?php printMLText("search_mode_folders");?>
<option value="3" <?php echo ($resultmode=='3') ? "selected" : ""; ?>><?php printMLText("search_resultmode_both");?>
</select>
</td>
</tr>