]> git.koha-community.org Git - koha.git/commit
Bug 35906: Remove preference and add override handling
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 26 Feb 2024 16:14:28 +0000 (16:14 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 25 Oct 2024 13:34:41 +0000 (15:34 +0200)
commitdb6cce8852736802822534eba5c310dc5a841084
tree24d09073d1c577355115d07824b4b33969b1a992
parent8dde2730a564f4b248f6cec6d40693e1fe1ad15c
Bug 35906: Remove preference and add override handling

This patch updates the bookable nature of items to allow setting at the
itemtype level and then overriding that setting at item level should you
so wish to do so.

We also now properly handle the item_level-itypes preference such that
we look at item or biblioitem level appropriately.

Signed-off-by: Esther <esther@bywatersolutions.com>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
13 files changed:
Koha/Item.pm
Koha/Items.pm
api/v1/swagger/definitions/item.yaml
api/v1/swagger/paths/biblios.yaml
api/v1/swagger/paths/items.yaml
catalogue/updateitem.pl
installer/data/mysql/atomicupdate/Bug_35906_add-column-bookable-itemtype.pl [changed mode: 0644->0755]
installer/data/mysql/kohastructure.sql
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt
t/db_dependent/Koha/Items.t