https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28883 --- Comment #50 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Tomás Cohen Arazi from comment #48)
We should be able to use the TT scalar plugin and do things like:
[% USE scalar %] [% SET var = scalar.biblio.items %]
but I haven't checked it.
I tried: + [% IF biblio.scalar.items.scalar.filter_by_for_hold.count %] + var countorders = [% biblio.scalar.orders.scalar.filter_by_current.count || 0 | html %]; + var countdeletedorders = [% biblio.scalar.orders.scalar.filter_by_cancelled.count || 0 | html %]; with [% USE scalar %] and [% USE Scalar %], but couldnt get them to work. Template process failed: undef error - The method Koha::Biblio->scalar is not covered by tests! -- You are receiving this mail because: You are watching all bug changes.