Bug 39178: Fix table naming

To test:
1) Enabled ILLModule
2) Install a metadat enrichment plugin .e.g:
   https://github.com/PTFS-Europe/koha-plugin-api-pubmed/releases/tag/1.1.1
3) Visit ILL requests:
   http://localhost:8081/cgi-bin/koha/ill/ill-requests.pl
4) Click 'New ILL requests batch' and pick 'Standard'
5) Enter a name 'test', a cardnumber '42' and any library
6) Click "Continue", enter '123' on the identifiers textarea on the
   right.
7) Click "Process identifiers"
8) Click "Add items to batch"
9) Click "Finish and view batch"
10) No table is rendered
11) Apply patch. Repeat.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Pedro Amorim 2025-02-20 12:50:18 +00:00 committed by Katrin Fischer
parent 6df6337080
commit bef0249f9e
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
[% IF patron.borrowernumber %]
[% table_id = 'ill-requests-patron-' _ patron.borrowernumber %]
[% ELSIF batch.id %]
[% table_id = 'ill-requests-patron-' _ batch.id %]
[% table_id = 'ill-requests-batch-' _ batch.id %]
[% END %]
<table id="[% table_id | html %]">
<thead>