From 91526a547d8d73405a8b27a87c5179e87265c72d Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 28 May 2025 09:29:52 +0000 Subject: [PATCH] Bug 40012: Add publisher input to Standard form Test plan: 1) Enable ILLModule and apply patch 2) Visit OPAC and Staff UI create forms: /cgi-bin/koha/opac-illrequests.pl?method=create&backend=Standard /cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 3) Notice the 'publisher' input is now presented 4) Add a new request with some value in 'publisher' 5) Confirm 'publisher' is saved correctly Signed-off-by: Roman Dolny --- .../includes/ill/backends/Standard/shared/form_input_helpers.inc | 1 + .../includes/ill/backends/Standard/shared/form_input_helpers.inc | 1 + 2 files changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/ill/backends/Standard/shared/form_input_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/ill/backends/Standard/shared/form_input_helpers.inc index 79d26fba13..b77c85ede4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/ill/backends/Standard/shared/form_input_helpers.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/ill/backends/Standard/shared/form_input_helpers.inc @@ -49,6 +49,7 @@ [% BLOCK journal_text_input_fields %] [% PROCESS ill_text_input_field id = 'title' label = t('Title') value = whole.value.other.title %] + [% PROCESS ill_text_input_field id = 'publisher' label = t('Publisher') value = whole.value.other.publisher %] [% PROCESS ill_text_input_field id = 'volume' label = t('Volume') value = whole.value.other.volume %] [% PROCESS ill_text_input_field id = 'issue' label = t('Issue number') value = whole.value.other.issue %] [% PROCESS ill_text_input_field id = 'year' label = t('Year') value = whole.value.other.year %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/ill/backends/Standard/shared/form_input_helpers.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/ill/backends/Standard/shared/form_input_helpers.inc index 79d26fba13..b77c85ede4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/ill/backends/Standard/shared/form_input_helpers.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/ill/backends/Standard/shared/form_input_helpers.inc @@ -49,6 +49,7 @@ [% BLOCK journal_text_input_fields %] [% PROCESS ill_text_input_field id = 'title' label = t('Title') value = whole.value.other.title %] + [% PROCESS ill_text_input_field id = 'publisher' label = t('Publisher') value = whole.value.other.publisher %] [% PROCESS ill_text_input_field id = 'volume' label = t('Volume') value = whole.value.other.volume %] [% PROCESS ill_text_input_field id = 'issue' label = t('Issue number') value = whole.value.other.issue %] [% PROCESS ill_text_input_field id = 'year' label = t('Year') value = whole.value.other.year %] -- 2.39.5