mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
fix(tags): use default index sortmap (#3615)
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
This commit is contained in:
@@ -109,12 +109,7 @@ class Tag
|
||||
*/
|
||||
private function getSortMap()
|
||||
{
|
||||
return [
|
||||
'latest' => '-lastPostedAt',
|
||||
'top' => '-commentCount',
|
||||
'newest' => '-createdAt',
|
||||
'oldest' => 'createdAt'
|
||||
];
|
||||
return resolve('flarum.forum.discussions.sortmap');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user