[Koha-bugs] [Bug 9011] Add the ability to store the last patron to return an item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 30 15:38:27 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9011

--- Comment #13 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to comment #12)
> (In reply to comment #11)
> > You should add a "on delete cascade" option (set null ?) or remove this
> > constraint.
> > It is a dilemma: in one case we loose the information, in other one we loose
> > the constraint :-/
> Not cascade, but set null, I don't see the dilemna: with cascade, you delete
> the item if the borrower is deleted. This is bad :\

Yes, not cascade, of course.
But with set NULL, we loose the information. If the borrowernumber is kept in
the last_returned_by field, we can retrieve it using the deletedborrowers
table.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list