Bug 14598 [QA Followup] - Correct the behavior of GetItem
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Dec 2015 14:59:02 +0000 (14:59 +0000)
committerMason James <mtj@kohaaloha.com>
Mon, 12 Dec 2016 01:54:11 +0000 (14:54 +1300)
commitc9433c56385946d14a29dd67a771a5bb5186aecb
tree69fae6c4f812e1b37ee0578bea034f65beb6f000
parent8a919ef2bd216483b5e388c4eecab9075ec39aac
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: Mason James <mtj@kohaaloha.com>
C4/Items.pm
t/db_dependent/Items.t