]> git.koha-community.org Git - koha.git/commit
Bug 12000: ensure that hold resumption dates can be set only to future dates
authorGalen Charlton <gmc@esilibrary.com>
Wed, 26 Mar 2014 17:58:46 +0000 (17:58 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 18 Jun 2014 16:02:33 +0000 (18:02 +0200)
commit01c2f73ab395404449be47c0d0ed42a672efdd0a
treed3bdab11a2e92ba0764bb778072976e1fa729d35
parent469c76151425b53f24ba26f671ea17a7595c3434
Bug 12000: ensure that hold resumption dates can be set only to future dates

This patch makes the datepickers for the hold resumption date
(AKA the hold suspend until date) field only permit dates in
the future to be selected in the staff interface checkout page
and hold list pages.  This makes these pages consistent with
the OPAC and the patron details page in the staff interface.

To test:

[1] Ensure that AutoResumeSuspendedHolds and SuspendHoldsIntranet
    are enabled.
[2] Go to the checkout page for a patron that has at least one hold
    request.
[3] Verify that the datepicker for the hold suspend until
    date field only permits choosing a date in the future.
[4] Go to the page listing hold requests for a title.
[5] Verify that the datepicker for the hold suspend until
    date fields only permit choosing a date in the future.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 7378d488414d1859c75f0d3b40e5ce99cde67cb7)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt