mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
[ticket/13865] Add id_ary, show_results to core.search_modify_param_before
PHPBB3-13865
This commit is contained in:
parent
e7262e2d39
commit
c3fd07a5f0
1 changed files with 5 additions and 0 deletions
|
@ -320,7 +320,10 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||||
* @var array ex_fid_ary Array of excluded forum ids
|
* @var array ex_fid_ary Array of excluded forum ids
|
||||||
* @var array author_id_ary Array of exclusive author ids
|
* @var array author_id_ary Array of exclusive author ids
|
||||||
* @var string search_id The id of the search request
|
* @var string search_id The id of the search request
|
||||||
|
* @var array id_ary Array of post or topic ids for search result
|
||||||
|
* @var string show_results 'posts' or 'topics' type of ids
|
||||||
* @since 3.1.3-RC1
|
* @since 3.1.3-RC1
|
||||||
|
* @changed 3.1.10-RC1 Added id_ary, show_results
|
||||||
*/
|
*/
|
||||||
$vars = array(
|
$vars = array(
|
||||||
'keywords',
|
'keywords',
|
||||||
|
@ -328,6 +331,8 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||||
'ex_fid_ary',
|
'ex_fid_ary',
|
||||||
'author_id_ary',
|
'author_id_ary',
|
||||||
'search_id',
|
'search_id',
|
||||||
|
'id_ary',
|
||||||
|
'show_results',
|
||||||
);
|
);
|
||||||
extract($phpbb_dispatcher->trigger_event('core.search_modify_param_before', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.search_modify_param_before', compact($vars)));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue