From c3f824bbf9ef475d42574b629f0d3ba342c90a40 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 28 Feb 2024 16:47:18 +0000 Subject: [PATCH] Bug 36197: Consider unauthenticated_ill in 'Standard' create form This also makes sure an empty left side bar exists for opac unauthenticated screens Signed-off-by: David Nind --- Koha/ILL/Backend/opac-includes/create.inc | 5 +++++ koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt | 5 +++++ opac/opac-illrequests.pl | 1 + 3 files changed, 11 insertions(+) diff --git a/Koha/ILL/Backend/opac-includes/create.inc b/Koha/ILL/Backend/opac-includes/create.inc index 6beb4514d3..50025fe3ab 100644 --- a/Koha/ILL/Backend/opac-includes/create.inc +++ b/Koha/ILL/Backend/opac-includes/create.inc @@ -31,6 +31,11 @@ Patron options
  1. + [% IF unauthenticated_ill && !logged_in_user%] + [% PROCESS ill_text_input_field required = 1 id = 'unauthenticated_first_name' label = t('First name') value = whole.value.other.unauthenticated_first_name %] + [% PROCESS ill_text_input_field required = 1 id = 'unauthenticated_last_name' label = t('Last name') value = whole.value.other.unauthenticated_last_name %] + [% PROCESS ill_text_input_field required = 1 id = 'unauthenticated_email' label = t('E-mail address') value = whole.value.other.unauthenticated_email %] + [% END %] [% WRAPPER ill_select_field required = 1 id = 'branchcode' label = t('Destination library') %]