Bug 36856: Fix MARC subfield name in new order from existing bibliographic record
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> Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commit5080eecc22) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit33370ea55b) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
e16fea9ec5
commit
d2bb68a9d5
|
|
@ -448,7 +448,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 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue