Bugzilla – Attachment 148822 Details for
Bug 33342
Fix framework handling in manage-marc-import.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33342: Fix framework handling in manage-marc-import.pl
Bug-33342-Fix-framework-handling-in-manage-marc-im.patch (text/plain), 1.20 KB, created by
David Gustafsson
on 2023-03-28 13:25:31 UTC
(
hide
)
Description:
Bug 33342: Fix framework handling in manage-marc-import.pl
Filename:
MIME Type:
Creator:
David Gustafsson
Created:
2023-03-28 13:25:31 UTC
Size:
1.20 KB
patch
obsolete
>From a45f2fdfcaa75d0d8efd8cd71c041702c1c299a0 Mon Sep 17 00:00:00 2001 >From: David Gustafsson <david.gustafsson@ub.gu.se> >Date: Mon, 27 Mar 2023 15:06:29 +0200 >Subject: [PATCH] Bug 33342: Fix framework handling in manage-marc-import.pl > >In a follow up in bug 15869 an if clause is added where "=" is >used instead of "eq" resulting in framwork always being set to undef. >Fix this by using the correct operator. Also fix the name of >the framework placeholder in manage-marc-import.pl >which differed from the template. >--- > tools/manage-marc-import.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/manage-marc-import.pl b/tools/manage-marc-import.pl >index e48b4790291..e74d9255ab8 100755 >--- a/tools/manage-marc-import.pl >+++ b/tools/manage-marc-import.pl >@@ -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( > { >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33342
:
148766
| 148822