diff --git a/system/modules/news_sorting/classes/NewsSorting.php b/system/modules/news_sorting/classes/NewsSorting.php index 23fda75..7a1c2f3 100644 --- a/system/modules/news_sorting/classes/NewsSorting.php +++ b/system/modules/news_sorting/classes/NewsSorting.php @@ -132,7 +132,7 @@ public function newsListFetchItems($newsArchives, $featured, $limit, $offset, Mo default: $order .= "$t.date DESC"; } - \Symfony\Component\VarDumper\VarDumper::dump($order); + $collection = \NewsModel::findPublishedByPids($newsArchives, $featured, $limit, $offset, ['order' => $order]); if (null !== $collection && 'order_random_date_desc' === $module->news_sorting)