From ca977dcd7862c95c5fe9c7dfe0fec717c2b51476 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 7 Jul 2026 22:18:22 +0000 Subject: [PATCH] Bug 31391: Allow cancel recall if UseRecalls enabled, remove unnecessary vars This follow-up includes the following changes: - only allow a recall cancellation via the OPAC if UseRecalls is enabled for the OPAC. - uses singleBranchMode var passed by C4::Auth in staff interface biblio recalls - drops unused attribute_type_codes var - drops unnecessary items var and uses biblio.items in template Signed-off-by: Katrin Fischer Signed-off-by: Pedro Amorim --- .../prog/en/modules/recalls/request.tt | 10 +++++----- opac/opac-recall.pl | 14 +++++++------- recalls/request.pl | 17 ++++------------- 3 files changed, 16 insertions(+), 25 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt index dbf329d8f2..4e5832fb6e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt @@ -83,7 +83,7 @@ Recall next available item
    - [% UNLESS ( single_branch_mode ) %] + [% UNLESS ( singleBranchMode ) %]