The OPAC recalls template predates the switch to Flatpickr, but without jQueryUI datepicker available the calendar popup doesn't work. This patch will implement Flatpickr for that field.
Created attachment 133333 [details] [review] 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.
Created attachment 134449 [details] [review] 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. Signed-off-by: David Nind <david@davidnind.com>
Created attachment 134534 [details] [review] 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. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 134535 [details] [review] Bug 30550: (QA follow-up) Clear cleartext remainders Clear enough? Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Pushed to master for 22.05, thanks to everybody involved [U+1F984]