27 Sep
2021
27 Sep
'21
7:23 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29106 --- Comment #1 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- sub effective_itemtype { my ( $self ) = @_; my $pref = C4::Context->preference('item-level_itypes'); if ( $pref && $self->itype() ) { return $self->itype(); } else { warn "item-level_itypes set but no itemtype set for item (".$self->itemnumber.")" if $pref; return $self->biblioitemnumber()->itemtype(); } } This sub c/should be moved out of the DBIx schema file to Koha::Item ? There is no need to warn each time imo. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.