@@ -, +, @@ tempalte dump preferences --- .../intranet-tmpl/prog/en/includes/doc-head-open.inc | 9 ++++++++- .../prog/en/modules/admin/preferences/logs.pref | 2 +- .../opac-tmpl/bootstrap/en/includes/doc-head-open.inc | 9 ++++++++- 3 files changed, 17 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-open.inc @@ -3,10 +3,17 @@ [% USE Koha %] [% USE raw %] +[% USE Dumper( Indent=1, SortKeys=1 ) %] + +[% IF Koha.Preference('DumpSearchQueryTemplate') %] + +[% END %] + [% IF Koha.Preference('DumpTemplateVarsIntranet') %] [% TRY %] [% USE Stash %] - [% USE Dumper( Indent=1, SortKeys=1 ) %] ', '- ->') %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/logs.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/logs.pref @@ -133,4 +133,4 @@ Logging: choices: 1: Do 0: "Don't" - - dump search query as a template parameter, requires DumpTemplateVars[interface] to be visible. + - dump search query to a comment in the HTML source for the OPAC and staff interface. --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-open.inc @@ -3,10 +3,17 @@ [% USE raw %] [% USE Koha %] +[% USE Dumper( Indent=1, SortKeys=1 ) %] + +[% IF Koha.Preference('DumpSearchQueryTemplate') %] + +[% END %] + [% IF Koha.Preference('DumpTemplateVarsOpac') %] [% TRY %] [% USE Stash %] - [% USE Dumper ( Indent=1, SortKeys=1 ) %] ', '- ->') %] --