Bugzilla – Attachment 174598 Details for
Bug 38136
Refactor database translations (alternative)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38136: Fix localization cache
Bug-38136-Fix-localization-cache.patch (text/plain), 1.02 KB, created by
Julian Maurice
on 2024-11-15 15:29:59 UTC
(
hide
)
Description:
Bug 38136: Fix localization cache
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2024-11-15 15:29:59 UTC
Size:
1.02 KB
patch
obsolete
>From dc03783ee71ab6f18cdd251bcedfc285ff07bae8 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38136
:
172585
|
172804
|
173195
|
173196
|
173197
|
173198
|
174578
|
174579
|
174580
|
174581
| 174598 |
174599