Bug 14598 [QA Followup] - Correct the behavior of GetItem
commit73b85e98755e075044db72b973cb3ebd6c0f4891
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Dec 2015 14:59:02 +0000 (18 14:59 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 11:29:58 +0000 (28 11:29 +0000)
tree7d354ac49f6cb66401b818d1c4d15b236de9af9e
parent4384e081968c7dd9c95c34d78bda2eba199a3243
Bug 14598 [QA Followup] - Correct the behavior of GetItem

Currently GetItem sets itemtype to the biblio itemtype if no item level
itemtype exists. Instead, it should only do this if item_level-itypes
is not set.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Items.pm
t/db_dependent/Items.t