Bug 40704

Summary: When item is deleted, title disappears from reading history creating a useless entry
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: 24.11   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33948
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2025-08-26 12:29:21 UTC
When an item that was formerly checked out to a user is deleted, it leaves an empty entry in their circulation history in the OPAC. 
Star ratings and date will display, the rest of the cells, including the title information, will be empty.

To test:
* Activate opacreadinghistory
* Check out an item to your user
* Confirm circulation history in OPAC shows it
* Check in the item and delete it
* Verify that now the reading history has an (almost) empty line