https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44134 Bug ID: 44134 Summary: CHECKINSLIP: Display title and barcode for deleted ILL items Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: Laura.escamilla@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: martin.renvoize@openfifth.co.uk Target Milestone: --- When an ILL item is checked in and its temporary item and bibliographic records are subsequently deleted, the CHECKINSLIP notice can no longer display the item's title or barcode. Currently, CHECKINSLIP uses old_checkouts to retrieve today's returned items. The notice template typically accesses item information through: [% checkin.item.biblio.title %] [% checkin.item.barcode %] However, when the temporary ILL item is deleted, old_issues.itemnumber is set to NULL due to the foreign key's ON DELETE SET NULL behavior. As a result, Koha::Old::Checkout->item returns nothing, leaving the title and barcode unavailable to the notice. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.