[Koha-bugs] [Bug 28762] Item status shows incorrectly on course-details.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 13 10:55:18 CEST 2021


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

--- Comment #20 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
So from this perspective looking at a new include, I see things like:

[% IF item.isa('Koha::Item') %]
..
[% IF NOT ( item.isa('Koha::Item') ) AND item.transfertwhen %]

Which is awful. Yes, I know that it comes from the opac include, but we should
really solve its twisted usage.

When we are starting at staff here, please use one consistent approach. Either
always pass a Koha object, or do something else. But keep it consistent.

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


More information about the Koha-bugs mailing list