]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1712657 Merge patron checkout history
authorBill Erickson <berickxx@gmail.com>
Wed, 23 Aug 2017 19:39:16 +0000 (15:39 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Fri, 25 Aug 2017 21:17:32 +0000 (17:17 -0400)
commit9254b702d8b31ea42afe2b5696d7f7e878a9a427
tree61594e04dfee5e24d6fb6ef9b59a444458711fda
parent0d0e404f3bd0a357e1def316d1ab48fa4358b130
LP#1712657 Merge patron checkout history

Transfer checkout history rows to the destination user during patron
merge.

To Test:

1. Enable circ history tracking for 2 users, ideally 2 with same
   last name for easy searching.
2. Check out items to both patrons.
3. Load the 2 patrons in the patron search UI and merge one into the other.
4. action.usr_circ_history rows previously linked to the deleted patron
   will now be linked to the active/lead patron.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/sql/Pg/999.functions.global.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.user-merge-circ-history.sql [new file with mode: 0644]