[Koha-bugs] [Bug 16114] Regression: Bug 14828 broke display of localized item type descriptions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 22 10:50:45 CET 2016


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 49410
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49410&action=edit
Bug 16114: Koha::ItemType->translated_description should return a string

This patch fixes a regression introduce by bug 14828.
If an itemtype is translated, its description won't be displayed
correctly on the item search form.

Koha::ItemType->translated_description is only used once.

Test plan:
- define a translation for an item type (Administration ->
Item types -> Edit -> Translate into other languages)
- go on the item search form, the item type should be displayed
  correctly.

QA note: This module is not covered by tests, it seems that I forgot to
write them...

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


More information about the Koha-bugs mailing list