]> 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)
committerKyle Hall <kyle@bywatersolutions.com>
Mon, 25 Apr 2022 19:05:45 +0000 (15:05 -0400)
commit9ece85a12fa62114d78c0dfa0336c30f8c86ca25
treeb7fc2ece046714d86e482ceafef1de3a7223be54
parent01d5cfcf83457a3996e2e6eefc1055b5fac50412
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc