aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-06-19 17:46:09 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-06-19 17:46:09 +0200
commit83f737a30a980cd76973db3090d840f7d4419184 (patch)
tree2a9689ccdfd9d69996a74c3aeec7a6052302f2a9
parent6764bea40c0c589a9b3ed99725fa8d731ad9a298 (diff)
parentc3fd07a5f080f89d03d2ed178e50074b472b669c (diff)
downloadforums-83f737a30a980cd76973db3090d840f7d4419184.tar
forums-83f737a30a980cd76973db3090d840f7d4419184.tar.gz
forums-83f737a30a980cd76973db3090d840f7d4419184.tar.bz2
forums-83f737a30a980cd76973db3090d840f7d4419184.tar.xz
forums-83f737a30a980cd76973db3090d840f7d4419184.zip
Merge pull request #4328 from Senky/ticket/13865
[ticket/13865] Add id_ary, show_results to core.search_modify_param_before
-rw-r--r--phpBB/search.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 7469daa49c..3fa3b61c3c 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -320,7 +320,10 @@ if ($keywords || $author || $author_id || $search_id || $submit)
* @var array ex_fid_ary Array of excluded forum ids
* @var array author_id_ary Array of exclusive author ids
* @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
+ * @changed 3.1.10-RC1 Added id_ary, show_results
*/
$vars = array(
'keywords',
@@ -328,6 +331,8 @@ if ($keywords || $author || $author_id || $search_id || $submit)
'ex_fid_ary',
'author_id_ary',
'search_id',
+ 'id_ary',
+ 'show_results',
);
extract($phpbb_dispatcher->trigger_event('core.search_modify_param_before', compact($vars)));