web: remove 30-day limit in forum search function

The explanation for an error code could be years old.
This commit is contained in:
David Anderson 2020-12-02 16:10:25 -08:00
parent 1a64d5d717
commit 10fd6db22f
1 changed files with 2 additions and 2 deletions

View File

@ -141,9 +141,9 @@ function show_forum_header($user) {
// Search
echo '
<td>
<input type="hidden" name="search_max_time" value="30">
<input type="hidden" name="search_max_time" value="0">
<input type="hidden" name="search_forum" value="-1">
<input type="hidden" name="search_sort" value="5">
<input type="hidden" name="search_sort" value="'.CREATE_TIME_NEW.'">
<input type="text" class="" name="search_keywords">
<input class="btn btn-primary btn-sm" title="'.tra("Search for words in forum messages").'" type="submit" value="'.tra("Search forums").'"><br>
<small><a href="forum_search.php">'.tra("Advanced search").'</a></small>