Bugzilla – Attachment 162988 Details for
Bug 35796
Patron password expiration date lost when patron edited by superlibrarian
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35796: Properly set patron_expiration value
Bug-35796-Properly-set-patronexpiration-value.patch (text/plain), 2.05 KB, created by
ByWater Sandboxes
on 2024-03-08 21:49:24 UTC
(
hide
)
Description:
Bug 35796: Properly set patron_expiration value
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2024-03-08 21:49:24 UTC
Size:
2.05 KB
patch
obsolete
>From 5cfc405a65b7107f95ac194a7ef959bba71c761e Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 8 Mar 2024 21:32:21 +0000 >Subject: [PATCH] Bug 35796: Properly set patron_expiration value > >To test: >1) Set an expiration on the password in a patron account and save. >2) Go to patron details (moremember.pl) and confirm the password has an expiration. >3) Edit the patron account without touching anything and save the account. >4) Go back to patron details (moremember.pl) and note that the expiration on the password has been removed. >5) APPLY PATCH >6) Try 1 - 4 again except this time password expiration is not removed. > >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> >--- > .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 39080c7389..1086e4b480 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -1343,7 +1343,7 @@ legend:hover { > [% UNLESS ( !CanUpdatePasswordExpiration ) %] > <li> > <label for="password_expiration_date">Password expiration date:</label> >- <input type="text" id="password_expiration_date" name="password_expiration_date" maxlength="10" size="10" value="[% password_expiration_date | html %]" class="flatpickr" /> >+ <input type="text" id="password_expiration_date" name="password_expiration_date" maxlength="10" size="10" value="[% borrower_data.password_expiration_date | html %]" class="flatpickr" /> > </li> > [% END %] > </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 35796
:
162983
|
162988
|
163170