Bug 35096: Fix batch accessor in ILL request page
Test plan, k-t-d: 1) Install FreeForm and enable ILLmodule, run: bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh) 2) Install an ILL availability plugin (e.g. pubmed): https://github.com/PTFS-Europe/koha-plugin-api-pubmed/releases/tag/1.1.1 3) restart plack: koha-plack --restart kohadev 4) Create a new ILL batch, visit: /cgi-bin/koha/ill/ill-requests.pl 5) Click '+New ILL requests batch' 6) Input a name, '42' on the cardnumber and pick a library. Click 'Continue'. 7) On the identifiers textarea, insert '123' and click 'Process identifiers' 8) After the metadata has been retrieved, click the bottom 'Add items to batch' button, click 'Finish and view batch' 9) You should now be seeing 'View ILL requests for batch <batch_name>' with the request you just added. 10) Click the request id (or the 'Manage request' button) 11) Notice you can view the request correctly, the batch it belongs to shows correctly and is clickable Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
44c16df625
commit
5da1c562a0
1 changed files with 2 additions and 2 deletions
|
@ -669,8 +669,8 @@
|
|||
[% IF request.ill_batch > 0 %]
|
||||
<li class="batch">
|
||||
<span class="label batch">Batch:</span>
|
||||
<a href="/cgi-bin/koha/ill/ill-requests.pl?batch_id=[% request.batch.ill_batch_id | uri %]">
|
||||
[% request.batch.name | html %]
|
||||
<a href="/cgi-bin/koha/ill/ill-requests.pl?batch_id=[% request.ill_batch.ill_batch_id | uri %]">
|
||||
[% request.ill_batch.name | html %]
|
||||
</a>
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue