[Koha-bugs] [Bug 34266] Item type should not default to biblio itemtype if item-level_itypes is set

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 13 09:28:56 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34266

--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 153389
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153389&action=edit
Bug 34266: Don't default to biblio itemtype if item-level_types is set

biblioitems.itemtype and items.itype can use differents sets of values
so biblioitems.itemtype can be innappropriate as a default for
items.itype.
This patch removes this behaviour when item-level_itypes is set

Test plan:
1. Disable item-level_itypes
2. Make sure that you have an item subfield linked to the authorised
   value 'itemtypes' in your MARC framework
3. Create a biblio with an itemtype
4. Create a new item for this biblio. Notice that the biblio itemtype is
   automatically selected for the 'itemtypes' subfield
5. Enable item-level_itypes
6. Create a new item for the same biblio. Now the 'itemtypes' subfield
   should be empty.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list