Bug 16373: merge.pl reports success but files are not merged
commit0b663b64449b402330229c975e38aa164eeeccee
authorJacek Ablewicz <abl@biblos.pk.edu.pl>
Thu, 28 Apr 2016 07:35:51 +0000 (28 09:35 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 9 May 2016 08:03:43 +0000 (9 10:03 +0200)
treec4fc6c61450de0915d930599a7b0e9a31c19bf94
parenta5480957e1741e9d1885772a79427170df3e4498
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 404d9001febc47f53a89be349abd8628d75dd8f6)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt