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

--- Comment #45 from Marcel de Rooy <[email protected]> ---
git grep Context.Scalar on master

koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc:    [% IF
Context.Scalar(Context.Scalar(items, "filter_by_for_hold"), "count") %]
koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc:    [% SET current
  = Context.Scalar(orders, "filter_by_current") %]
koha-tmpl/intranet-tmpl/prog/en/includes/catalog-strings.inc:    [% SET
cancelled = Context.Scalar(orders, "filter_by_cancelled") %]

I think we should not do these things in the templates. Doesnt look good to me.
The double Scalar in the first line is horrible.

-- 
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