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

--- Comment #461 from Martin Renvoize <martin.renvo...@ptfs-europe.com> ---
(In reply to Marcel de Rooy from comment #459)
> (In reply to Jonathan Druart from comment #458)
> > Created attachment 126745 [details] [review] [review]
> > Bug 11175: Add tests and correct show_analytics logic
> 
> Somehow it still feels a bit strange to do this in the XSLT module.

It was moved to the XSLT module for two reasons..

1. DRY the code out.. it was sat in the controllers before and was slightly
different in each.. so had bugs.
2. We were already passing a variable through to XSLT so we could use it in the
stylesheets to work out whether to show the link or not.. thus it made sense to
deal with it in the XSLT parser rather than passing it around at multiple
levels.

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