From 33a408a589517c63caef0e1bfd90b2ba7a4b5744 Mon Sep 17 00:00:00 2001 From: tuutti Date: Thu, 5 Sep 2024 10:46:24 +0300 Subject: [PATCH] UHF-10472: Filter by correct field --- .../helfi_paragraphs_news_list.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/helfi_paragraphs_news_list/helfi_paragraphs_news_list.module b/modules/helfi_paragraphs_news_list/helfi_paragraphs_news_list.module index 0de2e5fa0..c170080f6 100644 --- a/modules/helfi_paragraphs_news_list/helfi_paragraphs_news_list.module +++ b/modules/helfi_paragraphs_news_list/helfi_paragraphs_news_list.module @@ -61,7 +61,7 @@ function helfi_paragraphs_news_list_paragraph_view( $termFilters = [ 'news_tags_uuid' => $entity->getTagsUuid(), - 'groups_uuid' => $entity->getGroupsUuid(), + 'news_groups_uuid' => $entity->getGroupsUuid(), 'neighbourhoods_uuid' => $entity->getNeighbourhoodsUuids(), ]; foreach ($termFilters as $name => $value) {