]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 21 Apr 2022 23:41:36 +0000 (13:41 -1000)
commitae38dbcb47f7651b90a8e49c5de043a4ac5abada
tree7cb675398f7e940e2816f2f848cb1845e196f4bd
parent2ee5b5b1247b392a1dfbe695315db32f76775b0a
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: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc