From de5165b271a91664e695236a81623c310c151686 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 12 Oct 2023 22:14:10 +0000 Subject: [PATCH] Bug 34931: Remove fieldset/legend in favor of div/h3 1. Create some PA_CLASS authorized values. 2. Create some custom patron attributes and add them to the newly created PA_CLASS's. 3. Set CollapseFieldsPatronAddForm to collapse 'Additional attributes and identifiers'. 4. Go to a new or existing patron record. 5. At the top of the page click the checkbox for "Show collapsed fields:". 6. Scroll down to that section and notice the PA_CLASS element is shown but not the individual patron attributes within that PA_CLASS. 7. Apply patch 8. Try again, the Additional attributes and identifiers fieldset should display properly. --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index e97a15fdc6c..77abe427028 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1532,8 +1532,8 @@ legend:hover { [% FOREACH pa_loo IN patron_attributes %]
    [% IF pa_loo.class %] -
    - [% pa_loo.lib | html %] +
    +

    [% pa_loo.lib | html %]

    [% END %] [% FOREACH patron_attribute IN pa_loo.items %]
  1. @@ -1576,7 +1576,7 @@ legend:hover { [% IF patron_attribute.mandatory %]Required[% END %]
  2. [% END # /FOREACH patron_attribute %] - [% IF pa_loo.class %]
    [% END %] + [% IF pa_loo.class %][% END %]
[% END # /FOREACH pa_loo %] -- 2.30.2