Bugzilla – Attachment 140623 Details for
Bug 31562
Patron 'flags' don't respect unwanted fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31562: Respect mandatory fields pref
Bug-31562-Respect-mandatory-fields-pref.patch (text/plain), 4.02 KB, created by
Nick Clemens (kidclamp)
on 2022-09-14 11:47:44 UTC
(
hide
)
Description:
Bug 31562: Respect mandatory fields pref
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-09-14 11:47:44 UTC
Size:
4.02 KB
patch
obsolete
>From a6c110b985ab4cf738c60fe65e0415b2bb9e314a Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 14 Sep 2022 11:45:38 +0000 >Subject: [PATCH] Bug 31562: Respect mandatory fields pref > >To test: >1 - Set gonenoaddress and lost in BorrowerMandatoryField >2 - Edit a patron, confirm fields are required >--- > .../prog/en/modules/members/memberentrygen.tt | 19 +++++++++++++++++-- > 1 file changed, 17 insertions(+), 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 b905c2462b..d9e445d036 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -1315,7 +1315,11 @@ legend:hover { > <ol class="radio"> > [% UNLESS nogonenoaddress %] > <li> >- <label class="radio" for="yesgonenoaddress"> >+ [% IF mandatorygonenoaddress %] >+ <label class="radio required" for="yesgonenoaddress"> >+ [% ELSE %] >+ <label class="radio" for="yesgonenoaddress"> >+ [% END %] > Gone no address: > </label> > [% IF CAN_user_circulate_manage_restrictions %] >@@ -1338,11 +1342,19 @@ legend:hover { > [% ELSE %] > [% IF borrower_data.gonenoaddress %]<span>Yes</span>[% ELSE %]<span>No</span>[% END %] > [% END # /IF CAN_user_circulate_manage_restrictions %] >+ [% IF mandatorygonenoaddress %] >+ <span class="required">Required</span> >+ [% END %] > </li> >+ > [% END # /UNLESS nogonenoaddress %] > [% UNLESS nolost %] > <li> >- <label class="radio" for="yeslost"> >+ [% IF mandatorylost %] >+ <label class="radio required" for="yeslost"> >+ [% ELSE %] >+ <label class="radio" for="yeslost"> >+ [% END %] > Lost card: > </label> > [% IF CAN_user_circulate_manage_restrictions %] >@@ -1365,6 +1377,9 @@ legend:hover { > [% ELSE %] > [% IF borrower_data.lost %]<span>Yes</span>[% ELSE %]<span>No</span>[% END %] > [% END # /IF CAN_user_circulate_manage_restrictions %] >+ [% IF mandatorylost %] >+ <span class="required">Required</span> >+ [% END %] > </li> > [% END # /UNLESS nogonenoaddress %] > </ol> >-- >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 31562
:
140621
|
140622
|
140623
|
140624
|
140625
|
140626
|
140638
|
140639
|
140640
|
140655
|
140656
|
140657
|
142858