https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26993
--- Comment #37 from Lucas Gass (lukeg) <[email protected]> --- (In reply to Lucas Gass (lukeg) from comment #36) > (In reply to Andrew Fuerste-Henry from comment #35) > > (In reply to Andrew Fuerste-Henry from comment #23) > > > 13. Now set the StoreLastBorrower preference to 0. > > > 14. Using the original item from step 4, check something out to a patron > > > and > > > immediately check it back in. > > > > After doing this, I have problems. items_last_borrower recorded my patron > > from step 14, even though the syspref is set to zero -- I don't have a "Last > > returned by" line on moredetail.pl, but the data exists in the database. > > > > More distressingly, old_issues has lost the borrowernumber for every > > checkout to any patron other than the patron used in step 14. > > old_issues.borrowernumber is NULL for these checkouts. > > I think the problem here is `$self->last_borrowers->delete` which calls > Koha::Patrons->delete() SHOW CREATE TABLE old_issues: CONSTRAINT `old_issues_ibfk_1` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE SET NULL -- 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/
