]> git.koha-community.org Git - koha.git/commit
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)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 17 Nov 2020 03:53:32 +0000 (16:53 +1300)
commit5ffa2a41f177f247e76b181e047496839c050836
treef7295549b7ace630cf66d0b514174a9c9d18e199
parent4e55967da50418ab5f58b96171e7dc1b7ac01c85
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>
(cherry picked from commit 497435fa842ca6ac8c80942283c5c3663563b4fa)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc