mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
c6449f0999
1 changed files with 12 additions and 0 deletions
|
@ -598,6 +598,18 @@ else
|
|||
$sql_start = $start;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modify the topics sort ordering if needed
|
||||
*
|
||||
* @event core.viewforum_modify_sort_direction
|
||||
* @var string direction Topics sort order
|
||||
* @since 3.2.5-RC1
|
||||
*/
|
||||
$vars = array(
|
||||
'direction',
|
||||
);
|
||||
extract($phpbb_dispatcher->trigger_event('core.viewforum_modify_sort_direction', compact($vars)));
|
||||
|
||||
if (is_array($sort_by_sql[$sort_key]))
|
||||
{
|
||||
$sql_sort_order = implode(' ' . $direction . ', ', $sort_by_sql[$sort_key]) . ' ' . $direction;
|
||||
|
|
Loading…
Add table
Reference in a new issue