Bugzilla – Attachment 166692 Details for
Bug 36856
New order from existing bibliographic record does not show MARC subfield name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36856: Fix marc subfield name in new order from existing biblio
Bug-36856-Fix-marc-subfield-name-in-new-order-from.patch (text/plain), 1.88 KB, created by
Lucas Gass (lukeg)
on 2024-05-14 15:39:14 UTC
(
hide
)
Description:
Bug 36856: Fix marc subfield name in new order from existing biblio
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-05-14 15:39:14 UTC
Size:
1.88 KB
patch
obsolete
>From 05abde078a6ca68eeaaf340bc3b3f629c9310695 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Tue, 14 May 2024 11:41:57 +0200 >Subject: [PATCH] Bug 36856: Fix marc subfield name in new order from existing > biblio > >In form of the bibliographic details when adding an order 'From an existing record' in a basket, the marc subfield name is not shown. >The template calls [% field.lib | html %] but this comes from Koha::UI::Form::Builder::Biblio generate_subfield_form() which gives 'marc_lib'. > >Test plan: >1) Be sure to have an ACQ biblio framework >2) Enable system preference UseACQFrameworkForBiblioRecords >3) Go to an acquisition basket >4) Add a term in 'From an existing record' and submit >5) On first result click on 'Add order' >6) Look at 'Catalog details' >=> Without patch you only see subfield tag and letter : (123a) >=> With patch you also see subfield name : Name (123a) > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >index e9b62396f1..605f99299f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -457,7 +457,7 @@ > <ol> > [% FOREACH field IN catalog_details %] > <li class="subfield_line"> >- <label>[% field.lib | html %] ([% field.tag | html %][% field.subfield | html %])</label> >+ <label>[% field.marc_lib | html %] ([% field.tag | html %][% field.subfield | html %])</label> > [% field.value | html %] > </li> > [% END %] >-- >2.39.2
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 36856
:
166681
|
166692
|
166913