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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
  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.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to