Bugzilla – Attachment 110748 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
0001-Bug-26429-Show-correct-expiration-date-at-the-reques.patch (text/plain), 1.58 KB, created by
Emmi Takkinen
on 2020-09-25 11:12:49 UTC
(
hide
)
Description:
Bug 26429: Show correct expiration date at the request.pl
Filename:
MIME Type:
Creator:
Emmi Takkinen
Created:
2020-09-25 11:12:49 UTC
Size:
1.58 KB
patch
obsolete
>From e1bb9846c3affb3b28545d29efe19705072a0123 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 >--- > 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.17.1 >
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