force searches to always search /post/list, fixes #930

This commit is contained in:
Shish 2023-07-03 15:34:28 +01:00
parent 5def38aaa8
commit 2b26908624

View file

@ -82,7 +82,7 @@ and of course start organising your images :-)
$h_next = ($page_number >= $total_pages) ? "Next" : '<a href="'.make_link('post/list'.$query.'/'.$next).'">Next</a>';
$h_search_string = html_escape(Tag::implode($search_terms));
$h_search_link = make_link();
$h_search_link = make_link("post/list");
$h_search = "
<p><form action='$h_search_link' method='GET'>
<input type='search' name='search' value='$h_search_string' placeholder='Search' class='autocomplete_tags' autocomplete='off' />