https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32445 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com --- Comment #7 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Fridolin Somers from comment #4)
For OPAC, I tried to fix : koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status-schema-org.inc
You see there : item.itemnotforloan and item.notforloanvalueopac
But I get lost with : NOT ( item.isa('Koha::Item') ) Is is still valid ?
Yes, it's definitely valid. We don't always send a Koha::Item For instance in opac/opac-basket.pl 97 my $items = $biblio->items->filter_by_visible_in_opac({ patron => $logged_in_user })->unblessed; 137 $dat->{ITEM_RESULTS} = $items; -- You are receiving this mail because: You are watching all bug changes.