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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart+koha@gmail.
                   |                            |com

--- Comment #7 from Jonathan Druart <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to