Bug 18323 - Create option to retain accountlines data when a borrower is deleted
Summary: Create option to retain accountlines data when a borrower is deleted
Status: RESOLVED DUPLICATE of bug 21065
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-23 18:30 UTC by Cindy Murdock Ames
Modified: 2019-02-04 22:33 UTC (History)
3 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 Cindy Murdock Ames 2017-03-23 18:30:34 UTC
In order to retain accurate long-term fines income statistics it would be useful if there were an option to allow libraries to retain a borrower's data from the accountlines table when the borrower is deleted, something like the biblio/deletedbiblio data retention.

Our library system has been using Koha for almost 10 years now, so I'm surprised our staff hasn't noticed this until now!
Comment 1 Katrin Fischer 2017-04-02 10:40:30 UTC
We have been trying to avoid this problem by basing reports on statistics/action_logs whenever possible. Maybe this could be helpful for now.
Comment 2 Katrin Fischer 2019-02-04 22:33:45 UTC
Hi Cindy, this was fixed in recent versions - the borrowernumber is set to null now when hte patron is deleted, but the lines are kept, still allowing for accurate reports. See: 

Bug 21065 - Data in account_offsets and accountlines is deleted with the patron leaving gaps in financial reports

*** This bug has been marked as a duplicate of bug 21065 ***