[Koha-bugs] [Bug 36158] Text on the "Show SQL code" button at guided_reports.pl breaks if report notice templates exist
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 11 10:22:09 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36158
--- Comment #7 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Martin Renvoize from comment #3)
> Created attachment 162581 [details] [review]
> Bug 36158: Update t iterator variable
>
> It seems like its causing some sort of conflict with t('Hide SQL code')
> further down below in the code, but I'm not sure why.
>
> Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
> Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Arf there are other places with a var named "t" in TT :
> git grep 'FOREACH t IN'
origin/master:koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt:
[%- FOREACH t IN [ '0', '1', '2', '3', '4', '5',
'6', '7', '8', '9', '10'] -%]
origin/master:koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt:
[%- FOREACH t IN [
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] -%]
origin/master:koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt:
[% FOREACH t IN item_templates.owned %]
origin/master:koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt:
[% FOREACH t IN item_templates.shared %]
origin/master:koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt:
[% FOREACH t IN item_templates.owned %]
origin/master:koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt:
[% FOREACH t IN item_templates.shared %]
origin/master:koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt:
[% FOREACH t IN club_templates %]
origin/master:koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt:
[% FOREACH t IN club_templates %]
origin/master:koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt:
[% FOREACH t IN terms %]
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list