Bug 15354: Fix translated itemtype descriptions in circ rules
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 14 Dec 2015 10:14:16 +0000 (10:14 +0000)
committerJesse Weaver <jweaver@bywatersolutions.com>
Tue, 19 Jan 2016 22:34:32 +0000 (15:34 -0700)
commitf1b7e8b4d8f3c3dfcde5f4f3e0406430bdf3b519
treefe26fdfa4b715b296c8a604f92fbbedbcf9a487f
parentc5aa6762945b2889f328f5e0d4562f6a99fcee70
Bug 15354: Fix translated itemtype descriptions in circ rules

In bug 14100, the admin/smart-rules.pl needed much more love.
Indeed, the translated_description string should be used everywhere and
replaced the previous 'humanitemtype'.

Test plan:
1/ Translate some item types.
2/ Define some holds policy using these item types.
3/ Update the template strings
4/ Confirm that the "holds policy by item type" are displayed (for the
default and specific library) and sorted by translated item type descriptions.

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Passes QA tools.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
admin/smart-rules.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt