From 525d6fff7b703b28fd7b5051177072b1aee820ef 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 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. --- 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