mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/10943] use keywords variable to display in search box
$keywords which contains the string as entered by the user should be used to display in search box instead of search_query. PHPBB3-10943
This commit is contained in:
parent
cb007acc76
commit
83a4d9abb5
1 changed files with 1 additions and 1 deletions
|
@ -603,7 +603,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
|||
$template->assign_vars(array(
|
||||
'SEARCH_TITLE' => $l_search_title,
|
||||
'SEARCH_MATCHES' => $l_search_matches,
|
||||
'SEARCH_WORDS' => $search->search_query,
|
||||
'SEARCH_WORDS' => $keywords,
|
||||
'IGNORED_WORDS' => (sizeof($search->common_words)) ? implode(' ', $search->common_words) : '',
|
||||
'PAGINATION' => generate_pagination($u_search, $total_match_count, $per_page, $start),
|
||||
'PAGE_NUMBER' => on_page($total_match_count, $per_page, $start),
|
||||
|
|
Loading…
Add table
Reference in a new issue