From 22966927ea24a6f196fdb82e56d499efa0a3a0b8 Mon Sep 17 00:00:00 2001 From: PayBas Date: Sun, 22 Jun 2014 02:43:24 +0200 Subject: [PATCH 1/2] [ticket/12758] Add show_results var to core.search_modify_rowset PHPBB3-12758 --- phpBB/search.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/search.php b/phpBB/search.php index f1f02ac766..7276315221 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -923,6 +923,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) * @var array attachments Array with posts attachments data * @var string hilit String to highlight * @var array rowset Array with the search results data + * @var string show_results String indicating the show results mode * @var array topic_tracking_info Array with the topics tracking data * @var string u_hilit Highlight string to be injected into URL * @var string view Search results view mode @@ -933,6 +934,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) 'attachments', 'hilit', 'rowset', + 'show_results', 'topic_tracking_info', 'u_hilit', 'view', From e5b74145897c314a7512f2215896f1db4eebb0b1 Mon Sep 17 00:00:00 2001 From: PayBas Date: Sun, 22 Jun 2014 10:23:41 +0200 Subject: [PATCH 2/2] [ticket/12758] Add @changed to doc block PHPBB3-12758 --- phpBB/search.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/search.php b/phpBB/search.php index 7276315221..c01fcfede7 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -929,6 +929,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) * @var string view Search results view mode * @var array zebra Array with zebra data for the current user * @since 3.1.0-b4 + * @changed 3.1.0-b5 Added var show_results */ $vars = array( 'attachments',