From 7e23abcccb4868637d542147f25e6ca437ec5622 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. Signed-off-by: Barbara Johnson Signed-off-by: Chris Cormack Signed-off-by: Tomas Cohen Arazi --- .../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 e97a15fdc6..8374ee944e 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.39.5