1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 04:13:29 +02:00

Merge pull request #4450 from rxu/ticket/14787

[ticket/14787] Add more parameters to the core.search_modify_url_pameters

* rxu/ticket/14787:
  [ticket/14787] Add more parameters to the core.search_modify_url_parameters
This commit is contained in:
Tristan Darricau 2016-09-18 21:25:14 +02:00
commit 4da479d47f
No known key found for this signature in database
GPG Key ID: 817043C2E29DB881

View File

@ -645,11 +645,16 @@ if ($keywords || $author || $author_id || $search_id || $submit)
* @event core.search_modify_url_parameters
* @var string u_search Search URL parameters string
* @var string search_id Predefined search type name
* @var string sql_where The SQL WHERE string used by search to get topic data
* @var int total_match_count The total number of search matches
* @since 3.1.7-RC1
* @changed 3.1.10-RC1 Added sql_where, total_match_count
*/
$vars = array(
'u_search',
'search_id',
'sql_where',
'total_match_count',
);
extract($phpbb_dispatcher->trigger_event('core.search_modify_url_parameters', compact($vars)));