From 773dd857eed7e6eca01a8c098b973e20356157a3 Mon Sep 17 00:00:00 2001 From: Emmi Takkinen Date: Thu, 18 Jun 2020 09:36:55 +0300 Subject: [PATCH] Bug 25789: Don't allow past date as holds expiration date When editing existing holds expiration date it's possible to select past date from datepicker. This patch changes expiration inputs class as "datepickerto" to make past dates unselectable. To test: 1. Find item with holds 2. Edit holds expiration date => Note that past dates are selectable 3. Apply patch 4. Edit again => Past dates are no longer selectable Sponsored-by: Koha-Suomi Oy Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit c3365a35963742b294a4c8631b22aa34dac228d9) Signed-off-by: Lucas Gass --- 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 a10e281d3b..600977a054 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc @@ -113,7 +113,7 @@ [% hold.date | $KohaDates %] [% END %] - + [% IF ( hold.found ) %] -- 2.39.5