1 Sep
2017
1 Sep
'17
3:14 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19004 --- Comment #18 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Note to myself: - my $item_level_itypes = C4::Context->preference("item-level_itypes"); - my $biblio = $item_level_itypes ? undef : Koha::Biblios->find( $item->{ biblionumber } ); # don't get bib data unless we need it - my $itemtype = $item_level_itypes ? $item->{itype} : $biblio->biblioitem->itemtype; + my $itemtype = $item->{itype}; # GetItem called effective_itemtype This is not equal, but the previous code was buggy. -- You are receiving this mail because: You are watching all bug changes.