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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Passed QA

--- Comment #89 from Jonathan Druart <[email protected]> ---
(In reply to Marcel de Rooy from comment #81)
> (In reply to Jonathan Druart from comment #80)
> > 1. I may be missing something but I don't understand why we are setting
> > OpacNav from the .tt when we need it in .inc. Why don't we
> > AdditionalContents.get from there?
> 
> Is there any best practice about the place of TT's [% USE %] directives?
> Note that we still didnt tackle the load aborted errors on template plugins
> where we also use includes..

The correct answer was: to avoid double fetch. We are actually doing:

SET OpacNav = AdditionalContents.get
[...]
[% IF OpacNav %]
  [% INCLUDE navigation.inc %]
[% END %]

And reusing OpacNav from navigation.inc

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