Bug 16373: merge.pl reports success but files are not merged

To recreate:

1) Select two biblios to merge
2) Merge them
3) Sucess reported but list of bibs contains only the reference record.
4) View the 'new' record, it won't have any additional items
5) View the 'merged' record, it is still there with its items

This happens because record IDs (biblionumbers) are not correctly
set up in the template on the 2nd merge stage, since Bug 15358.

To test:

1) apply patch
2) try to recreate this issue once again, confirm that a problem
is resolved

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 404d9001fe)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
Jacek Ablewicz 2016-04-28 09:35:51 +02:00 committed by Julian Maurice
parent a5480957e1
commit 0b663b6444
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ $(document).ready(function(){
<input type="hidden" name="ref_biblionumber" value="[% ref_biblionumber %]" />
[% FOREACH record IN records %]
<input type="hidden" name="biblionumber" value="[% record.biblionumber %]" />
<input type="hidden" name="biblionumber" value="[% record.recordid %]" />
[% END %]
<input type="hidden" name="frameworkcode" value="[% framework %]" />