Bug 26429: Show correct expiration date at the request.pl
authorEmmi Takkinen <emmi.takkinen@outlook.com>
Fri, 25 Sep 2020 10:52:06 +0000 (13:52 +0300)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 13 Nov 2020 14:12:40 +0000 (14:12 +0000)
commit497435fa842ca6ac8c80942283c5c3663563b4fa
tree2b53efd82ed3ec35a989bee6f1a2dc8545df9e7d
parente6752ed58166407bf8e2e353e4acde5815df2a02
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>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1b40ee8d18b7fee42193cfb2bac5e44146a1afd9)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc