diff --git a/extensions/tags/src/Content/Tag.php b/extensions/tags/src/Content/Tag.php index 7fde641f8..7e6e54890 100644 --- a/extensions/tags/src/Content/Tag.php +++ b/extensions/tags/src/Content/Tag.php @@ -109,12 +109,7 @@ class Tag */ private function getSortMap() { - return [ - 'latest' => '-lastPostedAt', - 'top' => '-commentCount', - 'newest' => '-createdAt', - 'oldest' => 'createdAt' - ]; + return resolve('flarum.forum.discussions.sortmap'); } /**