LP#1731960-preserving book bag entries with new values during bib merge user/kmlussier/lp1731960_replace_bookbags_in_merge_rebase
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 20:16:20 +0000 (16:16 -0400)
commita9b759e1be3c566a222b67ed5ef4df21445809b3
treee4adc4f94ca70e362aeb077f6eb48e8d3ca1df98
parent2ffbacfc992eb0d49f5845e3c24ce0c185e93cb3
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>
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]