Bug 33412: Fix comparison when checking for overlay framework
TO test: 1 - Cataloging -> Export catalog data 2 - Export a record fom your catalog 3 - Cataloging -> Stage record for import 4 - Import the record, use Record matchign rule: KohaBiblio (999c) 5 - Stage, view batch 6 - Record should match the one that was exported 7 - When replacing record use this framework, choose a different value than current framework of record 8 - Import this batch 9 - View and edit record - note framework did not change 10 - Apply patch 11 - Restart all 12 - Repeat 4-8 13 - View and edit record, confirm framework has changed 14 - Sign off Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
ca784d740d
commit
4ea2f11718
|
|
@ -90,7 +90,7 @@ if ($op eq "") {
|
|||
} elsif ($op eq "commit-batch") {
|
||||
my $frameworkcode = $input->param('framework');
|
||||
my $overlay_framework = $input->param('overlay_framework');
|
||||
$overlay_framework = undef if $overlay_framework = '_USE_ORIG';
|
||||
$overlay_framework = undef if $overlay_framework eq '_USE_ORIG_';
|
||||
try {
|
||||
my $job_id = Koha::BackgroundJob::MARCImportCommitBatch->new->enqueue(
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue