mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/13072] Add total_match_count to core.search_get_topic_data event
PHPBB3-13072
This commit is contained in:
@@ -739,9 +739,10 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||
* @var string sql_select The SQL SELECT string used by search to get topic data
|
||||
* @var string sql_from The SQL FROM string used by search to get topic data
|
||||
* @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.0-a1
|
||||
*/
|
||||
$vars = array('sql_select', 'sql_from', 'sql_where');
|
||||
$vars = array('sql_select', 'sql_from', 'sql_where', 'total_match_count');
|
||||
extract($phpbb_dispatcher->trigger_event('core.search_get_topic_data', compact($vars)));
|
||||
|
||||
$sql = "SELECT $sql_select
|
||||
|
Reference in New Issue
Block a user