[Koha-bugs] [Bug 11175] Show the parent record's component parts in the detailed views

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 22 15:16:09 CEST 2021


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

--- Comment #461 from Martin Renvoize <martin.renvoize at 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.


More information about the Koha-bugs mailing list