[Koha-bugs] [Bug 30583] Hold system broken for translated template

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 21 16:43:03 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30583

Lucas Gass <lucas at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #133569|0                           |1
        is obsolete|                            |

--- Comment #3 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 133570
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133570&action=edit
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 at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list