Bugzilla – Attachment 179816 Details for
Bug 39476
In record editor control fields have a strange label '00'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39476: In record editor control fields have a strange label '00'
Bug-39476-In-record-editor-control-fields-have-a-s.patch (text/plain), 3.78 KB, created by
Janusz Kaczmarek
on 2025-03-27 21:39:25 UTC
(
hide
)
Description:
Bug 39476: In record editor control fields have a strange label '00'
Filename:
MIME Type:
Creator:
Janusz Kaczmarek
Created:
2025-03-27 21:39:25 UTC
Size:
3.78 KB
patch
obsolete
>From a7d88b109d05dd092ef54551f9fd7d5bb1a25098 Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Thu, 27 Mar 2025 21:34:07 +0000 >Subject: [PATCH] Bug 39476: In record editor control fields have a strange > label '00' >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >In standard record editors both for bibliographic and authority >records, the control fields have a strange label '00'. The code >author's intention was apparently to hide them ([% IF ( >subfield_loo.fixedfield ) %]display:none; [% END %]) but >the fixedfield attribute is wrongly prefixed. > >Test plan: >========== > >1. Open a bibliographic record in the standard editor. Note the > misleading '00' labels in front of the 00X fields. Do the same for > a authority record. >2. Aply the patch ; restart_all. >3. Repeat p. 1. There should not be the '00' labels any more. > >Sponsored-by: Pontificia Università di San Tommaso d'Aquino (Angelicum) >--- > .../intranet-tmpl/prog/en/modules/authorities/authorities.tt | 2 +- > .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 2 +- > 2 files changed, 2 insertions(+), 2 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..bccd02ced2 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" >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..628041e9dd 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" >-- >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 39476
: 179816