Bug 27996 added formatting to the due dates on the overdues report, but we forgt that it doesn't only show due dates in the past. If you check the checkbox on top, also current checkouts with due dates in the future will display. They area also formatted in red now.
I confirm this is still valid
We would be interested in this fix. This report is quick and easy to use to get at all the items that are out, but the false red for items due in future makes it too confusing to really advertise to staff.
Created attachment 179414 [details] [review] Bug 31167: Only mark due dates in the past red on overdues report This patch adds information about whether an entry in the overdue report is overdue so we can style dates accordingly. We can't assume that each result is overdue because the report can be changed to include all checked out items. To test, apply the patch and go to Circulation. - Check out to a patron. - Use the "Specify due date" option to check out some items with due dates in the past, due dates today, and due dates in the future. - Go to Circulation -> Overdues. - You should see the items which have due dates in the past. The date in the "Due date" column should be red text. The "Checked out on" date should be regular text. - In the sidebar, check the "Show any items currently checked out" checkbox and submit the form. - You should now see all the items you just checked out. Only the overdue items should show their due date in red. Sponsored-by: Athens County Public Libraries
Created attachment 179418 [details] [review] Bug 31167: Only mark due dates in the past red on overdues report This patch adds information about whether an entry in the overdue report is overdue so we can style dates accordingly. We can't assume that each result is overdue because the report can be changed to include all checked out items. To test, apply the patch and go to Circulation. - Check out to a patron. - Use the "Specify due date" option to check out some items with due dates in the past, due dates today, and due dates in the future. - Go to Circulation -> Overdues. - You should see the items which have due dates in the past. The date in the "Due date" column should be red text. The "Checked out on" date should be regular text. - In the sidebar, check the "Show any items currently checked out" checkbox and submit the form. - You should now see all the items you just checked out. Only the overdue items should show their due date in red. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com>
Created attachment 179562 [details] [review] Bug 31167: Only mark due dates in the past red on overdues report This patch adds information about whether an entry in the overdue report is overdue so we can style dates accordingly. We can't assume that each result is overdue because the report can be changed to include all checked out items. To test, apply the patch and go to Circulation. - Check out to a patron. - Use the "Specify due date" option to check out some items with due dates in the past, due dates today, and due dates in the future. - Go to Circulation -> Overdues. - You should see the items which have due dates in the past. The date in the "Due date" column should be red text. The "Checked out on" date should be regular text. - In the sidebar, check the "Show any items currently checked out" checkbox and submit the form. - You should now see all the items you just checked out. Only the overdue items should show their due date in red. Sponsored-by: Athens County Public Libraries Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Pushed for 25.05! Well done everyone, thank you!