]> git.evergreen-ils.org Git - Evergreen.git/commit
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:38:15 +0000 (19:38 -0400)
commitaa6fe112068668e33f39d7c714a69b1b8d46f193
tree215acc9f00a09967d873fe57e794405896fe9043
parentdef685f1ed0f2628554e4aa9574368df3b9a31e0
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
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]