]> git.koha-community.org Git - koha.git/commit
Bug 16114: Koha::ItemType->translated_description should return a string
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 22 Mar 2016 09:38:52 +0000 (09:38 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 23 Mar 2016 01:06:05 +0000 (01:06 +0000)
commit6a078fb1b34ad9585ccd4c717723dfca2a91df80
treeffefa71519df98d849130c7d5eb02a62e9345624
parent44b37f3bc8ff1fecdb4a4e99759e91efc16d5714
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...

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
Koha/ItemType.pm