Bug 23414: Use effective_itemtype
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 4 Nov 2019 15:34:35 +0000 (16:34 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 6 Nov 2019 17:14:32 +0000 (17:14 +0000)
commit032343b98dfb84e9e8dfbf5d5ecf4fec3bcf8754
tree99bf963727326be46144829beae8a4202a6b3115
parent89cd2c440083e7aa87af2fdeb06f88eb9cfafe0e
Bug 23414: Use effective_itemtype

We should use effective_itemtype instead of itype to take
the item-level_itypes pref into account.
Note that we should not need to test for the existence of the key as we
now assume that item types are correctly set to a valid item type.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/XSLT.pm