]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Oct 2020 09:47:57 +0000 (11:47 +0200)
commit1b40ee8d18b7fee42193cfb2bac5e44146a1afd9
treeeb6710f786d913a2142f45c48e35a9ad1bcb3c4a
parent5a669249148d3f874ebc9977be9d4be6a6d92f8d
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>
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc