[Koha-bugs] [Bug 20116] Cache language list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 31 19:25:06 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20116

--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Do these patches make sense?

It seems that some call to getTranslatedLanguages are wrong:
1.
members/memberentry.pl:    my $translated_languages =
C4::Languages::getTranslatedLanguages( 'opac',
C4::Context->preference('template') );
# template is for the intranet, we should use opacthemes instead

2. tools/letter.pl
159         my $translated_languages =
160           C4::Languages::getTranslatedLanguages( 'opac', 
161             C4::Context->preference('template') );

Additional note: "template" and "opacthemes" are confusing, the same terms must
be used

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list