Bugzilla – Attachment 173876 Details for
Bug 38326
copyno not copied over when set in MarcItemFieldsToOrder system preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38326: Don't convert to copynumber
Bug-38326-Dont-convert-to-copynumber.patch (text/plain), 1.52 KB, created by
Lucas Gass (lukeg)
on 2024-11-01 16:33:04 UTC
(
hide
)
Description:
Bug 38326: Don't convert to copynumber
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-11-01 16:33:04 UTC
Size:
1.52 KB
patch
obsolete
>From 35702c2f7eb5a84fb95a3770013bbfdba01be7e8 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 1 Nov 2024 16:31:11 +0000 >Subject: [PATCH] Bug 38326: Don't convert to copynumber > >To test: >1. Set copynumber in MarcItemFieldsToOrder: copyno: 965$z >2. Have a mrc file that includes this marc field >3. Stage a mrc file for import >4. Notice the copynumber isn't correctly copied over >5. APPLY PATCH, restart_all >6. Try again, this time it should work. >--- > Koha/MarcOrder.pm | 3 --- > 1 file changed, 3 deletions(-) > >diff --git a/Koha/MarcOrder.pm b/Koha/MarcOrder.pm >index 4bb58c41cf0..9fa8222446c 100644 >--- a/Koha/MarcOrder.pm >+++ b/Koha/MarcOrder.pm >@@ -561,8 +561,6 @@ sub import_biblios_list { > > # Handle incorrectly named original parameters for MarcItemFieldsToOrder > $iteminfos->{location} = delete $iteminfos->{loc} if $iteminfos->{loc}; >- $iteminfos->{copynumber} = delete $iteminfos->{copyno} if $iteminfos->{copyno}; >- > # Convert budget code to a budget id > my $item_budget_code = delete $iteminfos->{budget_code}; > if ($item_budget_code) { >@@ -724,7 +722,6 @@ sub parse_input_into_order_line_fields { > } > my @budget_codes = $client ? @{ $fields->{budget_codes} } : ($item_budget_id); > my $loop_limit = $client ? scalar(@homebranches) : $quantity; >- > my $order_line_fields = { > biblionumber => $biblionumber, > homebranch => \@homebranches, >-- >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 38326
:
173876
|
174287
|
174678
|
174679