From 5da1c562a08aaea74985e08e71b4ae4972b3cf54 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 18 Oct 2023 16:11:48 +0000 Subject: [PATCH] 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 ' 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 Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index 86c02117a9..87d73fc747 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -669,8 +669,8 @@ [% IF request.ill_batch > 0 %]
  • Batch: - - [% request.batch.name | html %] + + [% request.ill_batch.name | html %]
  • [% END %] -- 2.39.5