Bug 31080: Prevent bundles from being nested
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 1 Jul 2022 14:02:58 +0000 (15:02 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 22 Nov 2022 19:28:20 +0000 (16:28 -0300)
commitd9fbe646102a6cbefd009955a7dab7924e28ef86
tree7278acedf736f9c354c47f855c339c18ac48538d
parent158ddef9997cf6e48fdb34a7bdfadd0b164e1b9e
Bug 31080: Prevent bundles from being nested

This is a follow-up for bug 28854 to prevent bundle type items from
being nested in to other bundles.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Exceptions/Item/Bundle.pm [new file with mode: 0644]
Koha/Item.pm
Koha/REST/V1/Items.pm
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt