https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17089
--- Comment #32 from Jonathan Druart <[email protected]> --- (In reply to Marcel de Rooy from comment #31) > [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %] > This kind of construct does not look very pretty. Simplify? It's not possible to set a variable to something using a filter: [% SET rating_avg_int = rating_avg | format("%.0f") %] This does not work. The construct is the same I already used in facets.inc: [% url = BLOCK %][% url %][% "&sort_by=" _ sort_by |url %][% END %] If you find something easier to write/read I will be happy to know it :) -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
