LP#1731960-preserving book bag entries with new values during bib merge
authorRogan Hamby <rogan.hamby@gmail.com>
Tue, 21 Nov 2017 23:50:34 +0000 (18:50 -0500)
committerKathy Lussier <klussier@masslnc.org>
Thu, 22 Mar 2018 23:41:23 +0000 (19:41 -0400)
commit978479d8e6f50465ec4049db60d01c002a09c1b9
tree386e502445d6f695b2ae0a111204809ae18e7594
parent6ec4c7a9acd6dce77202e637268275b28bda42a1
LP#1731960-preserving book bag entries with new values during bib merge

The asset.merge_record_assets() removes bib records from containers when
merging and deleting the record as appropriate but bib containers with
the btype of 'bookbag' (used as reading lists) should instead be updated
to the new bib record. Includes Pgtap test.

Signed-off-by: Rogan Hamby <rhamby@equinoxinitiative.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/sql/Pg/999.functions.global.sql

Conflicts:
Open-ILS/src/sql/Pg/999.functions.global.sql
Open-ILS/src/sql/Pg/999.functions.global.sql
Open-ILS/src/sql/Pg/t/lp1731960_test_preserving_bookbag_entries.pg [new file with mode: 0644]