https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30648
Biblibre Sandboxes <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172689|0 |1 is obsolete| | --- Comment #14 from Biblibre Sandboxes <[email protected]> --- Created attachment 173342 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173342&action=edit Bug 30648: Record deleted_biblionumber in holds This patch ensures the deleted biblionumber is recorded in current and previous holds before the record is deleted To test: 1 - Place and fill a few holds on a biblio, completing checkout to patron 2 - Place a few holds on the biblio and do not fulfill them 3 - Delete the items from the biblio via the DB (otherwise you cannot delete last item when there are holds) DELETE FROM items WHERE biblionumber={biblionumber} 4 - Delete the biblio 5 - Check the DB and confirm the deleted_biblionumber column has been filled SELECT reserve_id,deleted_biblionumber,biblionumber FROM old_reserves WHERE deleted_biblionumber = {biblionumber}; 6 - Sign off! Signed-off-by: Anneli Österman <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
