Bugzilla – Attachment 156359 Details for
Bug 34462
Bug 25299 seems to have been reintroduced in more recent versions.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34462: Display the patron's expiration date
Bug-34462-Display-the-patrons-expiration-date.patch (text/plain), 2.03 KB, created by
David Nind
on 2023-09-28 22:16:30 UTC
(
hide
)
Description:
Bug 34462: Display the patron's expiration date
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-09-28 22:16:30 UTC
Size:
2.03 KB
patch
obsolete
>From 232aad77b7a9a9d8b86bbdd7ad81063f39cebb63 Mon Sep 17 00:00:00 2001 >From: emilyrose <emily-rose.francoeur@inLibro.com> >Date: Thu, 28 Sep 2023 10:10:26 -0400 >Subject: [PATCH] Bug 34462: Display the patron's expiration date >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The problem is in the patron_messages.inc file on line 25. The variable "expiry" is used, but it should be "patron.dateexpiry" because the patron's card isn't expired yet. > >TEST PLAN >1) Go to Ă¢Patrons > + New patronĂ¢ >2) Create a patron with an expiry date that is less than 30 days in the future >3) Go to the "details" tab of this account >4) Notice that the date is missing after "expires on": >"Expiration: Patron's card will expire soon. Patron's card expires on Renew or Edit details" >5) Apply the patch >6) Reload the page; the expiry date should now be displayed > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >index 3a52c777c7..894aad7b40 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >@@ -22,7 +22,7 @@ > <li class="warndeparture"> > <span class="circ-hlt">Expiration:</span> > <span>Patron's card will expire soon.</span> >- <span>Patron's card expires on [% expiry | $KohaDates %]</span> >+ <span>Patron's card expires on [% patron.dateexpiry | $KohaDates %].</span> > <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&destination=circ&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber | html %]">Edit details</a> > </li> > [% END %] >-- >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 34462
:
156337
|
156359
|
156360
|
157239
|
157240