Bugzilla – Attachment 157212 Details for
Bug 34531
Hiding Lost card flag and Gone no address flag via BorrowerUnwantedFields hides Patron restrictions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34531: Fix template logic to not hide patron restrictions
Bug-34531-Fix-template-logic-to-not-hide-patron-re.patch (text/plain), 1.96 KB, created by
Lucas Gass (lukeg)
on 2023-10-16 19:46:48 UTC
(
hide
)
Description:
Bug 34531: Fix template logic to not hide patron restrictions
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-10-16 19:46:48 UTC
Size:
1.96 KB
patch
obsolete
>From f8aee67eefbb275f9be650abaad12eb8420208cf Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 %] > </ol> > </fieldset> <!-- /#memberentry_account_flags --> >- >+ [% END %] > <fieldset class="rows" id="memberentry_restrictions"> > <legend id="restrictions_lgd">Patron restrictions</legend> > [% IF ( patron.restrictions.count ) %] >@@ -1480,7 +1480,6 @@ legend:hover { > </fieldset> <!-- /#manual_restriction_form --> > [% END # /IF CAN_user_borrowers_edit_borrowers %] > </fieldset> <!-- /#memberentry_restrictions --> >- [% END # /UNLESS ( opadd || opduplicate ) %] > [% END # /IF ( step_3 ) %] > > [% IF ( step_7 ) %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34531
:
157212
|
157220
|
157289