Bug 39476

Summary: In record editor control fields have a strange label '00'
Product: Koha Reporter: Janusz Kaczmarek <januszop>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Janusz Kaczmarek <januszop>
Severity: trivial    
Priority: P5 - low CC: m.de.rooy, phil
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 39476: In record editor control fields have a strange label '00'

Description Janusz Kaczmarek 2025-03-27 21:33:42 UTC
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. (A patch will follow.)
Comment 1 Janusz Kaczmarek 2025-03-27 21:39:25 UTC
Created attachment 179816 [details] [review]
Bug 39476: In record editor control fields have a strange label '00'

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)
Comment 2 Phil Ringnalda 2025-03-28 01:18:13 UTC
Weird coincidence that this has been broken since forever, and we got two patches for it in two weeks.

*** This bug has been marked as a duplicate of bug 39321 ***
Comment 3 Janusz Kaczmarek 2025-03-28 14:03:30 UTC
(In reply to Phil Ringnalda from comment #2)
> Weird coincidence that this has been broken since forever, and we got two
> patches for it in two weeks.

No wonder -- it became more visible and annoying for librarians when it was bordered, suggesting a possibility for editing in ver. 24.11.03...

Thanks, Phil, for catching the duplication.