Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions phpBB/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,30 @@
$hilit = implode('|', $hilit_array);
}

/**
* Modify the rowset data
*
* @event core.search_modify_rowset
* @var array attachments Array with posts attachments data
* @var string hilit String to highlight
* @var array rowset Array with the search results data
* @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
* @var array zebra Array with zebra data for the current user
* @since 3.1.0-b4
*/
$vars = array(
'attachments',
'hilit',
'rowset',
'topic_tracking_info',
'u_hilit',
'view',
'zebra',
);
extract($phpbb_dispatcher->trigger_event('core.search_modify_rowset', compact($vars)));

foreach ($rowset as $row)
{
$forum_id = $row['forum_id'];
Expand Down