From 7decfcf0264679d382604deb9d12c68daa6eca26 Mon Sep 17 00:00:00 2001 From: Tero Elonen Date: Fri, 23 Aug 2024 17:58:55 +0300 Subject: [PATCH] UHF-10452: Change the news list news archive base url --- .../helfi_paragraphs_news_list.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 c29e09550..98f99958c 100644 --- a/modules/helfi_paragraphs_news_list/helfi_paragraphs_news_list.module +++ b/modules/helfi_paragraphs_news_list/helfi_paragraphs_news_list.module @@ -208,9 +208,9 @@ function helfi_paragraphs_news_list_preprocess_paragraph__news_list(&$variables) ->getUrl($langcode); $instanceUrl = $instanceUrl . match ($langcode) { - 'fi' => '/uutiset', - 'sv' => '/nyheter', - default => '/news', + 'fi' => '/uutiset/arkisto', + 'sv' => '/nyheter/arkiv', + default => '/news/archive', }; $archiveUrl = Url::fromUri($instanceUrl, ['query' => $params]);