https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41711
Bug ID: 41711
Summary: The function
Koha::Notice::Templates::find_effective_template
selects a (probably) incorrect notice template
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Notices
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
When notice templates of a given type are defined for a specific library, but
not in all languages, we would likely expect Koha to select the template of
that type for the given library in the default language, rather than a generic
template in the requested language.
For example, if we are looking for:
{ branch: 'BRANCH', lang: 'es-ES', code: 'CHECKOUT' }
and such a template does not exist, we would prefer:
{ branch: 'BRANCH', lang: 'default', code: 'CHECKOUT' }
over:
{ branch: '', lang: 'es-ES', code: 'CHECKOUT' }.
However, Koha currently prioritizes language matching over library matching and
therefore returns the template:
{ branch: '', lang: 'es-ES', code: 'CHECKOUT' }.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/