]> git.evergreen-ils.org Git - 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:42:44 +0000 (17:42 -0400)
commit3e6f6abedf96995254e51bda4acadcef56d8d35d
tree9f44bb6643746cb3b54587e875a57ed2b1213ad5
parent50ff6275114ad156eb2b913c841b5d9740b7a432
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]