From 8fd0d2232e682136f69180ca8337be8463b42425 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 14 Apr 2022 18:27:47 +0000 Subject: [PATCH] Bug 30550: OPAC recalls page tries to use jQueryUI datepicker Content-Type: text/plain; charset=utf-8 This patch updates the recalls page in the OPAC so that it uses Flatpickr for the "Recall not needed after" field. To test apply the patch and enable the UseRecalls preference if necessary. You made need to update your circulation rules as well, defining some default values for recalls. - Log in to the OPAC. - Locate a bibliographic record which has one item and that item is checked out. - Click "Place recall." - The "Recall not needed after" field should be styled correctly, and clicking it should trigger the calendar popup. - You should be limited to selections after today's date. Signed-off-by: David Nind Signed-off-by: Marcel de Rooy --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt index 258019e6e0..8c2881122a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-recall.tt @@ -83,7 +83,11 @@ [% END %] -
  • [% INCLUDE 'date-format.inc' %]
  • +
  • + + + [% INCLUDE 'date-format.inc' %] +
  • @@ -199,9 +203,6 @@ $("#items").hide(); } }); - $("#expirationdate").datepicker({ - minDate: 0, - }); }); [% END %] -- 2.20.1