https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42790 --- Comment #11 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 202501 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202501&action=edit Bug 42790: (QA follow-up) Only treat the booking's own checkout as linked The issued-row due date display and the Extend action trusted the item.checkout embed to be the checkout that collected the booking. A stale 'issued' booking whose item has since been checked out to somebody else would display - and offer to renew - the wrong patron's loan, and that renewal would not touch the booking at all (AddRenewal only syncs bookings linked via issues.booking_id). - resolve the linked checkout by matching checkout.booking_id against the booking before rendering the due date or offering Extend Test plan: 1. Book an item, check it out to its patron; the issued row still shows the checkout due date and the Extend action works as before 2. Clear the link (UPDATE issues SET booking_id = NULL WHERE issue_id = ...) and reload; the due date and Extend action disappear instead of acting on an unlinked loan Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.