Bugzilla – Attachment 157239 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.10 KB, created by
Martin Renvoize (ashimema)
on 2023-10-17 12:42:53 UTC
(
hide
)
Description:
Bug 34462: Display the patron's expiration date
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-10-17 12:42:53 UTC
Size:
2.10 KB
patch
obsolete
>From 8490a945417ed377c1cd76472c68e37c4e1d965e 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> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.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 7320e3c07d9..624d71883ae 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.41.0
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