Bugzilla – Attachment 179248 Details for
Bug 39321
Hide subfield tag for fixed length control fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39321: Hide subfield tag information for control fields in bib and authority editing
Bug-39321-Hide-subfield-tag-information-for-contro.patch (text/plain), 5.61 KB, created by
Andrew Fuerste-Henry
on 2025-03-13 13:35:54 UTC
(
hide
)
Description:
Bug 39321: Hide subfield tag information for control fields in bib and authority editing
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-03-13 13:35:54 UTC
Size:
5.61 KB
patch
obsolete
>From 4889a13e33e0db53d5e38f2a14a314b7c2578d66 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Thu, 13 Mar 2025 13:32:59 +0000 >Subject: [PATCH] Bug 39321: Hide subfield tag information for control fields > in bib and authority editing > >This applies only to the basic editor, but for both bibs and authorities >To test: >1 - Open a bib in the basic editor, see that the control fields show the subfield tag value label and that the value of 00 is slightly cut off in the display >2 - Open an authority in the basic editor and confirm same >3 - apply patch >4 - reload your records and see that the subfield value and label are now hidden for control fields in both bib and authrority editing >--- > .../intranet-tmpl/prog/en/modules/authorities/authorities.tt | 4 ++-- > .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >index ef03bd0d5d..09f997a2af 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt >@@ -681,7 +681,7 @@ > <span class="handle"></span> > <input type="text" > title="[% subfield_loo.marc_lib | $raw %]" >- style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" >+ style=" [% IF ( innerloo.fixedfield ) %]display:none; [% END %]border:0;" > name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" > value="[% subfield_loo.subfield | html %]" > size="1" >@@ -701,7 +701,7 @@ > [% ELSE %] > <div class="subfield"> > [% END %] >- [% IF ( subfield_loo.fixedfield ) %] >+ [% IF ( innerloo.fixedfield ) %] > <label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" style="display:none;" class="labelsubfield"> > [% ELSE %] > <label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >index ad4d899fa6..d38f9834f4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -1129,7 +1129,7 @@ > <span class="handle"></span> > <input type="text" > title="[% subfield_loo.marc_lib | $raw %]" >- style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" >+ style=" [% IF ( innerloo.fixedfield ) %]display:none; [% END %]border:0;" > name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" > value="[% subfield_loo.subfield | html %]" > size="1" >@@ -1145,7 +1145,7 @@ > [% ELSE %] > <div class="subfield"> > [% END %] >- [% IF ( subfield_loo.fixedfield ) %] >+ [% IF ( innerloo.fixedfield ) %] > <label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" style="display:none;" class="labelsubfield"> > [% ELSE %] > <label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield"> >-- >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 39321
:
179248
|
179293
|
181151