From 36405a805bf74f5a01a7556b5cb634f26bab0a5c Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 6 Mar 2024 09:56:00 +0000 Subject: [PATCH] Bug 36241: Update missing query_type => op in ill-batch.inc Test plan: - Add 'FreeForm' backend and enable ILLModule, run: bash <(curl -s https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh) - Install a metadata enrichment plugin, e.g.: https://github.com/PTFS-Europe/koha-plugin-api-pubmed/releases - Add 5 batches, run the following command in kshell: for x in {1..5}; do echo "INSERT INTO illbatches (name, backend, library_id, status_code, patron_id) VALUES ('$x', 'FreeForm', 'CPL', 'NEW', 52);"; done | koha-mysql kohadev - Visit ILL batches page: /cgi-bin/koha/ill/ill-requests.pl?method=batch_list - Confirm no batches are shown. Apply patch. Repeat. --- koha-tmpl/intranet-tmpl/prog/en/includes/ill-batch.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-batch.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-batch.inc index ebe1a4cf418..c92e5770f8d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-batch.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-batch.inc @@ -1,4 +1,4 @@ -[% IF query_type == "batch_list" %] +[% IF op == "batch_list" %]

View ILL requests batches

-- 2.30.2