]> git.koha-community.org Git - koha.git/commit
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)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 25 Jan 2016 11:55:30 +0000 (12:55 +0100)
commit3cfa8c58743a7c6a42a7bf5ff7184a957e64b0d0
tree1c0e5c8d7399a2e4b93e58d482d2d0ee5a2a4264
parentc22bc02ad791329518c18fb94bb3bcbc84a08009
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>
(cherry picked from commit f1b7e8b4d8f3c3dfcde5f4f3e0406430bdf3b519)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
admin/smart-rules.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt