From 40a45f6d7545304bd4687a1c1673e5b0801eca46 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 (cherry picked from commit 7e23abcccb4868637d542147f25e6ca437ec5622) Signed-off-by: Fridolin Somers --- .../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 05f1cf66ce..d62ee56aeb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1392,7 +1392,7 @@ legend:hover { [% END # /UNLESS nogonenoaddress %] - + [% END %]
Patron restrictions [% IF ( patron.restrictions.count ) %] @@ -1478,7 +1478,6 @@ legend:hover {
[% END # /IF CAN_user_borrowers_edit_borrowers %] - [% END # /UNLESS ( opadd || opduplicate ) %] [% END # /IF ( step_3 ) %] [% IF ( step_7 ) %] -- 2.39.5