From dc03783ee71ab6f18cdd251bcedfc285ff07bae8 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Fri, 15 Nov 2024 16:25:05 +0100 Subject: [PATCH] Bug 38136: Fix localization cache --- Koha/Schema/Component/Localization.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Schema/Component/Localization.pm b/Koha/Schema/Component/Localization.pm index 9d1f57065e..bd93f893b1 100644 --- a/Koha/Schema/Component/Localization.pm +++ b/Koha/Schema/Component/Localization.pm @@ -184,7 +184,7 @@ sub localization { my $localizations = $result_source->schema->resultset($rel_source)->search({ lang => $lang }); while (my $localization = $localizations->next) { my $fk = $localization->get_column($fk_column); - my $localization_key = sprintf('%s:%s', $fk, $property); + my $localization_key = sprintf('%s:%s', $fk, $localization->property); $localizations_map->{$localization_key} = $localization->translation; } -- 2.39.2