From ed088ef335c29db86e87690ba29b9f84aa2371c7 Mon Sep 17 00:00:00 2001 From: Baptiste Wojtkowski Date: Wed, 30 Jul 2025 17:08:51 +0200 Subject: [PATCH] Bug 40556 - Subfields names in control fields should not be displayed/editable In cataloguing/addbiblio.pl, there is a conditionnal display of the subfield name field. However, it is depending on subfield_loo.fixedfield, which is never set up. However, the field corresponding information is available in innerloo.fixedfield.  TEST PLAN: 1 - Edit any record. Note that you can grab subfields, note you can edit the 00 in the subfield input 2 - Apply patch 3 - On the same page, you should not be able to grab or edit subfield titles. --- .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 0748c11ee..e4db1176f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -1126,10 +1126,10 @@
  • - + [% UNLESS ( innerloo.fixedfield ) %] [% END %] [% END %] - [% IF ( subfield_loo.fixedfield ) %] + [% IF ( innerloo.fixedfield ) %]