mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 15:17:16 +01: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
1d0607cbb3
commit
615f32cd71
@ -599,7 +599,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…
x
Reference in New Issue
Block a user