[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-19 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 Bug 36297 depends on bug 36158, which changed state. Bug 36158 Summary: Text on the "Show SQL code" button at guided_reports.pl breaks if report notice templates exist https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36158

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-19 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 Jonathan Druart changed: What|Removed |Added CC||jonathan.dru...@gmail.com

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-19 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 --- Comment #10 from Julian Maurice --- (In reply to Julian Maurice from comment #8) > For the record, it can work as a filter. It requires some code modification > that I will submit in another bug report. => bug 36357 -- You

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-19 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 Julian Maurice changed: What|Removed |Added See Also|

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-18 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 --- Comment #9 from Kyle M Hall --- (In reply to Fridolin Somers from comment #7) > (In reply to Julian Maurice from comment #4) > > Another solution could be to remove i18n.inc, forcing us to use [% > > I18N.t("...") %] which is

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 --- Comment #8 from Julian Maurice --- (In reply to Julian Maurice from comment #4) > Or another (but hypothetical as I'm not sure it works): redefine these > functions as filters [% "..." | t %] (I believe filters don't conflict

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 --- Comment #7 from Fridolin Somers --- (In reply to Julian Maurice from comment #4) > Another solution could be to remove i18n.inc, forcing us to use [% > I18N.t("...") %] which is unlikely to conflict with other variables. I

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 --- Comment #6 from Pedro Amorim --- (In reply to Julian Maurice from comment #4) > Remember that there is also 'tn', 'tnx', ... (exhaustive list in i18n.inc). > > Also FOREACH is probably not the only way to "hide" these macros

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 --- Comment #5 from Kyle M Hall --- (In reply to Julian Maurice from comment #4) > Remember that there is also 'tn', 'tnx', ... (exhaustive list in i18n.inc). > > Also FOREACH is probably not the only way to "hide" these macros

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-14 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 Julian Maurice changed: What|Removed |Added CC|

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-14 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 --- Comment #3 from Pedro Amorim --- (In reply to Kyle M Hall from comment #2) > (In reply to Pedro Amorim from comment #1) > > This may be a non-issue (?) if it is indeed a template toolkit bug and it > > gets fixed upstream, the

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-14 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 --- Comment #2 from Kyle M Hall --- (In reply to Pedro Amorim from comment #1) > This may be a non-issue (?) if it is indeed a template toolkit bug and it > gets fixed upstream, the problem is that the value of 't' persists even >

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-12 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 Pedro Amorim changed: What|Removed |Added See Also||https://bugs.koha-community

[Koha-bugs] [Bug 36297] Avoid using var named "t" in templates

2024-03-12 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36297 Fridolin Somers changed: What|Removed |Added Depends on||36158 Referenced Bugs: