[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:55:03 CEST 2023


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

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
-            if (!$value && $biblionumber) {
+            if (!$value && $biblionumber &&
!C4::Context->preference('item-level_itypes')) {
                 my $itype_sth = $dbh->prepare(
                     "SELECT itemtype FROM biblioitems WHERE biblionumber =
?");
                 $itype_sth->execute($biblionumber);

As long as it would be bound to 'itemtypes' I definitely think that you should
not do this. 942c is for me like default itype.
You could add a check if you are using another AV category or so for 942c??

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


More information about the Koha-bugs mailing list