From f8aee67eefbb275f9be650abaad12eb8420208cf Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 16 Oct 2023 19:37:41 +0000 Subject: [PATCH] Bug 34531: Fix template logic to not hide patron restrictions To test: 1. From BorrowerUnwantedFields Hide Gone no address flag (gonenoaddress) and Lost card flag (lost). 2. Got to memberentrygen.tt and see that Patron restrictions is now hidden 3. Apply patch, now the Patron restrictions field should not be hidden. --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 3 +-- 1 file changed, 1 insertion(+), 2 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..8374ee944eb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1394,7 +1394,7 @@ legend:hover { [% END # /UNLESS nogonenoaddress %] - + [% END %]
Patron restrictions [% IF ( patron.restrictions.count ) %] @@ -1480,7 +1480,6 @@ legend:hover {
[% END # /IF CAN_user_borrowers_edit_borrowers %] - [% END # /UNLESS ( opadd || opduplicate ) %] [% END # /IF ( step_3 ) %] [% IF ( step_7 ) %] -- 2.30.2