Bug 30648 - Title is lost in holds history when biblio is deleted
Summary: Title is lost in holds history when biblio is deleted
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: master
Hardware: All All
: P5 - low normal with 10 votes (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 36345
  Show dependency treegraph
 
Reported: 2022-04-28 14:59 UTC by Andrew Fuerste-Henry
Modified: 2024-03-18 14:46 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2022-04-28 14:59:50 UTC
The patron hold history page shows "No title" for old holds on records that have since been deleted. We should get the title from deletedbibios if possible.
Comment 1 Jonathan Druart 2022-06-08 09:25:55 UTC
Impossible, we lost the link. We need bug 25260.
Comment 2 Katrin Fischer 2022-07-30 22:23:23 UTC
I have confirmed it. In old_reserves the biblionumber is set to NULL when the bibliographic record is deleted.

I know that merging the tables is the ultimate solution, but is there another solution we could think of? Maybe we could not cascade on delete?
Comment 3 Owen Leonard 2022-08-29 17:03:24 UTC
In the meantime I think we need an update to the holds history page in the OPAC to exclude deleted titles.