https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38095 --- Comment #6 from Janusz Kaczmarek <januszop@gmail.com> --- (In reply to Janusz Kaczmarek from comment #5)
(In reply to Anneli Österman from comment #4)
I tested this in sandbox and it kind of works but not with [% branches.branchname %] as instructed. If you want to add branch name, you had to use <<branches.branchname>> instead. Is that how it was intended to work?
I can confirm, that's true. But this seems to be another issue. [% borrowers.firstname %] does not work as well--seems to be a be a more general problem with letter templates interpretation (at least for custom patron messages).
Problem explained: for [% %] placeholders singular form should be used--it should be: [% branch.branchname %] [% borrower.firstname %] etc. whereas for << >> form the table name (usually plural: branches.column, borrowers.column etc.) is to be used. Emily, would you correct the test plan please? (The patch itself is fine). -- You are receiving this mail because: You are watching all bug changes.