From 000267a985b1b1e33de5f097aef6d2ecfdc74d93 Mon Sep 17 00:00:00 2001 From: Tero Elonen Date: Mon, 26 Aug 2024 16:17:18 +0300 Subject: [PATCH] UHF-10191: Fix typo on image style variants style names 575_2x to 576_2x --- .../Plugin/search_api/processor/DistrictImageAbsoluteUrl.php | 2 +- .../src/Plugin/search_api/processor/MediaReferenceToObject.php | 2 +- .../src/Plugin/search_api/processor/ProjectImageAbsoluteUrl.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/helfi_react_search/src/Plugin/search_api/processor/DistrictImageAbsoluteUrl.php b/modules/helfi_react_search/src/Plugin/search_api/processor/DistrictImageAbsoluteUrl.php index c841fb027..d4190285a 100644 --- a/modules/helfi_react_search/src/Plugin/search_api/processor/DistrictImageAbsoluteUrl.php +++ b/modules/helfi_react_search/src/Plugin/search_api/processor/DistrictImageAbsoluteUrl.php @@ -77,7 +77,7 @@ public function addFieldValues(ItemInterface $item) { '1.5_756w_504h_LQ' => '1248_2x', '1.5_682w_454h_LQ' => '992_2x', '1.5_528w_352h_LQ' => '768_2x', - '1.5_434w_290h_LQ' => '575_2x', + '1.5_434w_290h_LQ' => '576_2x', '1.5_1022w_682h_LQ' => '320_2x', ]; diff --git a/modules/helfi_react_search/src/Plugin/search_api/processor/MediaReferenceToObject.php b/modules/helfi_react_search/src/Plugin/search_api/processor/MediaReferenceToObject.php index dc079a872..7adf11765 100644 --- a/modules/helfi_react_search/src/Plugin/search_api/processor/MediaReferenceToObject.php +++ b/modules/helfi_react_search/src/Plugin/search_api/processor/MediaReferenceToObject.php @@ -130,7 +130,7 @@ public function addFieldValues(ItemInterface $item): void { '1.5_756w_504h_LQ' => '1248_2x', '1.5_682w_454h_LQ' => '992_2x', '1.5_528w_352h_LQ' => '768_2x', - '1.5_434w_290h_LQ' => '575_2x', + '1.5_434w_290h_LQ' => '576_2x', '1.5_1022w_682h_LQ' => '320_2x', ]; diff --git a/modules/helfi_react_search/src/Plugin/search_api/processor/ProjectImageAbsoluteUrl.php b/modules/helfi_react_search/src/Plugin/search_api/processor/ProjectImageAbsoluteUrl.php index bc2532893..02d3f20ff 100644 --- a/modules/helfi_react_search/src/Plugin/search_api/processor/ProjectImageAbsoluteUrl.php +++ b/modules/helfi_react_search/src/Plugin/search_api/processor/ProjectImageAbsoluteUrl.php @@ -77,7 +77,7 @@ public function addFieldValues(ItemInterface $item) { '1.5_756w_504h_LQ' => '1248_2x', '1.5_682w_454h_LQ' => '992_2x', '1.5_528w_352h_LQ' => '768_2x', - '1.5_434w_290h_LQ' => '575_2x', + '1.5_434w_290h_LQ' => '576_2x', '1.5_1022w_682h_LQ' => '320_2x', ];