I've got a few random corrections to make to a couple of recalls templates.
Created attachment 184937 [details] [review] Bug 40568: Various corrections to recalls templates This patch makes various minor changes to recalls templates. - Correct markup in dropdown menu - Correct sorting of dates in tables - Wrap recalls table in "page-section" div. - Hide "Show old recalls" if there are no recalls. To test, apply the patch and enable Recalls if necessary. - If necessary, place some recalls. - Go to Circulation -> Recalls queue and check the "Actions" menu for one of the recalls. The "Mark as overdue" menu item should be formatted correctly. - Check the sorting of date columns on the "Recalls queue" page. It should be correct. - View a patron who has never placed a recall. Go to their recalls history and confirm that you see a "Patron has no recalls" message but no "Show old recalls" checkbox. Sponsored-by: Athens County Public Libraries
The patch still applies, however: 1. I have no idea on the SQL required to make a recall overdue so that the "Mark as overdue" menu item is shown. 2. For sorting of date columns on the "Recalls queue" page, it seems to work OK before the patch--so I'm not sure how to reproduce that it is not working. (Example SQL to update the created date: update recalls set created_date = "2025-11-07 00:00:00" where recall_id=1