Bugzilla – Attachment 111564 Details for
Bug 26429
If a waiting hold has expired the expiration date on the holds page shows for tomorrow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26429: Show correct expiration date at the request.pl
Bug-26429-Show-correct-expiration-date-at-the-requ.patch (text/plain), 1.68 KB, created by
Katrin Fischer
on 2020-10-13 13:48:41 UTC
(
hide
)
Description:
Bug 26429: Show correct expiration date at the request.pl
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-10-13 13:48:41 UTC
Size:
1.68 KB
patch
obsolete
>From 47fcb34573b857d0c348fc540603b34b63bbe090 Mon Sep 17 00:00:00 2001 >From: Emmi Takkinen <emmi.takkinen@outlook.com> >Date: Fri, 25 Sep 2020 13:52:06 +0300 >Subject: [PATCH] Bug 26429: Show correct expiration date at the request.pl > >Bug 25789 changed holds tables expriration input class as "datepickerto". >This results to past expiration date to be displayed as tomorrows date. >Class "futuredate" should have been used instead. > >To test: > >1. Have waiting hold with expiration date in past (e.g 24.9) >2. Observe that waiting reserves table displays correct expiration date >3. At the request.pl page expiration date is however displayed as 26.9 >=> Apply patch >4. Confirm that expiration date at the request.pl is now 24.9 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >index febcf4e1a7..02584eec41 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc >@@ -115,7 +115,7 @@ > [% hold.date | $KohaDates %] > [% END %] > </td> >- <td><input type="text" class="datepickerto" value="[% hold.expirationdate | $KohaDates %]" size="10" name="expirationdate" /></td> >+ <td><input type="text" class="datepicker futuredate" value="[% hold.expirationdate | $KohaDates %]" size="10" name="expirationdate" /></td> > > <td> > [% IF ( hold.found ) %] >-- >2.11.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 26429
:
110748
|
111312
| 111564