Bug 39476 - In record editor control fields have a strange label '00'
Summary: In record editor control fields have a strange label '00'
Status: RESOLVED DUPLICATE of bug 39321
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low trivial
Assignee: Bugs List
QA Contact: Janusz Kaczmarek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-27 21:33 UTC by Janusz Kaczmarek
Modified: 2025-03-28 14:03 UTC (History)
2 users (show)

See Also:
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' (3.78 KB, patch)
2025-03-27 21:39 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.