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

--- Comment #20 from Marcel de Rooy <m.de.r...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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