1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/10943] displays searched query in search result

Search backend displays an additional normalized search query just above
the ignored words.

PHPBB3-10943
This commit is contained in:
Dhruv Goel
2012-06-22 15:16:13 +05:30
committed by Dhruv
parent 83a4d9abb5
commit 2ba1cef5b0
3 changed files with 3 additions and 0 deletions

View File

@@ -604,6 +604,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
'SEARCH_TITLE' => $l_search_title,
'SEARCH_MATCHES' => $l_search_matches,
'SEARCH_WORDS' => $keywords,
'SEARCHED_QUERY' => $search->search_query,
'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),