Bug 10082 - Keep extended patron attributes when patron is deleted (moved to deletedborrowers table)
Summary: Keep extended patron attributes when patron is deleted (moved to deletedborro...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-19 15:10 UTC by Nicole C. Engard
Modified: 2023-01-25 22:18 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 Nicole C. Engard 2013-04-19 15:10:14 UTC
When you delete a borrower their record goes into the deleted_borrowers table, but their attributes are completely lost.  If you to do stats on these fields or recover deleted borrowers via the db you don't have that info anymore.  

It should either have it's own deleted_ table or be kept in the current table.

Nicole
Comment 1 Katrin Fischer 2023-01-25 22:18:46 UTC
I think having it's own deleted_table with a FK constraint on deletedborrowers would be the preferrable solution if we want to implement this.