Bugzilla – Attachment 182812 Details for
Bug 40012
Standard form missing publisher for journal articles
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40012: Add publisher input to Standard form
Bug-40012-Add-publisher-input-to-Standard-form.patch (text/plain), 2.81 KB, created by
Pedro Amorim
on 2025-05-28 09:32:47 UTC
(
hide
)
Description:
Bug 40012: Add publisher input to Standard form
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-05-28 09:32:47 UTC
Size:
2.81 KB
patch
obsolete
>From 4802ef847f381cf1195a6283921050d3411c1d87 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >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: > <opac_url>/cgi-bin/koha/opac-illrequests.pl?method=create&backend=Standard > <staff_ui>/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 >--- > .../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 79d26fba132..b77c85ede4f 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 79d26fba132..b77c85ede4f 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40012
:
182812
|
182830