LP#1406786: fix remapping copies during parts merge user/gmcharlt/lp1406786_move_copy_maps_during_parts_merge
authorGalen Charlton <gmc@esilibrary.com>
Thu, 29 Oct 2015 19:30:31 +0000 (19:30 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 29 Oct 2015 19:30:31 +0000 (19:30 +0000)
commit1bce7492b59d7de3275530df9d7cd835d80e1b30
tree616d4a7bcc958c3887b0d79ff714ea3f9a125aaa
parentb15a61ffc934e5e4f558de69505f904b4de0d2e3
LP#1406786: fix remapping copies during parts merge

This patch fixes an issue with how copies are mapped
on the target part when using "Merge Selected" in the
Monograph Parts interface.

To test:

[1] Create some monograph parts on a record and assign
    some copies to use them.
[2] Use the merge parts function to collapse all of the
    parts created in step 1 onto a single part.
[3] Verify that the copies whose original parts were removed
    are now mapped onto the part that was the target of the
    merge.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/web/js/dojo/openils/biblio/monographPartMerge.js