Bug 26276

Summary: When merging biblios with volumes, preserve all groups
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy, martin.renvoize
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 24857    
Bug Blocks:    

Description Andrew Fuerste-Henry 2020-08-21 15:44:22 UTC
When merging bib records with attached volumes, only the volumes connected to the preserved biblionumber are kept.

To recreate:
- create bib Test 1
- create Volume 1 on bib Test 1
- create bib Test 2
- create Volume 2 on bib Test 2
- select bibs Test 1 and Test 2 for merge
- selet Test 1 as the bib number to be maintained
- complete merge
- confirm your final bib has just one volume, Volume 1

We should keep all volumes, merging them all into the final bib.

Additionally, and volume-level holds on the deleted bib do merge onto the final bib, but end up as bib-level holds. They should be kept as volume-level. Could be this wants to be a separate bug.