Skip to content
Snippets Groups Projects
Commit 3a572f73 authored by Michael Kessler's avatar Michael Kessler
Browse files

[TASK] Add categoryIds filter to highlight

parent 98f0c544
No related branches found
No related tags found
1 merge request!43[FEATURE] Enable filtering by all filters
...@@ -241,7 +241,7 @@ class OverviewController extends AbstractController { ...@@ -241,7 +241,7 @@ class OverviewController extends AbstractController {
$newsMetaData[] = $this->getMetaDataForNews($newsEntry, $category); $newsMetaData[] = $this->getMetaDataForNews($newsEntry, $category);
} }
$this->highlightBestFitNews([], $tagIds); $this->highlightBestFitNews($categoryIds, $tagIds);
// Check to achieve less Ajax calls. // Check to achieve less Ajax calls.
$newsCount = $this->newsRepository->newsCountByCategories([], $tagIds, $startTime, $endTime); $newsCount = $this->newsRepository->newsCountByCategories([], $tagIds, $startTime, $endTime);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment