]> git.koha-community.org Git - koha.git/commit
Bug 30583: Fix hold system for translated templates
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Apr 2022 14:30:24 +0000 (16:30 +0200)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 25 Apr 2022 19:34:37 +0000 (19:34 +0000)
commit4779641dc8a4e0aaa6353bc4ef0793a567e01962
tree150f67d00efed5affcb526898f6c97f3675fd57d
parent94f9ab623a0a53d4126c02a81feaf475591fae7b
Bug 30583: Fix hold system for translated templates

There are missing quotes, and the translate script is messing up with
the generated template.

Error is:
Template process failed: file error - parse error - holds_table.inc line 216-217: unexpected token (hold)

The generated line, without this patch is:
216 <td><input %]="%]" class="printholdslip" data-reserve_id="[%" hold.reserve_id="hold.reserve_id" html="html" name="printholdslip" type="button" value="Recibo" |="|"></td>
With this patch applied:
216  <td><input class="printholdslip" data-reserve_id="[% hold.reserve_id | html %]" name="printholdslip" type="button" value="Recibo"></td>

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc