Bugzilla – Attachment 187215 Details for
Bug 35451
Add tablename field to additional_field_values
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35451: (follow-up) Fix C4::Acquisition::TransferOrder
Bug-35451-follow-up-Fix-C4AcquisitionTransferOrder.patch (text/plain), 1.07 KB, created by
Martin Renvoize (ashimema)
on 2025-10-01 15:47:37 UTC
(
hide
)
Description:
Bug 35451: (follow-up) Fix C4::Acquisition::TransferOrder
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-10-01 15:47:37 UTC
Size:
1.07 KB
patch
obsolete
>From e54a09b488aaac232bc2a90bacacd680e624a2ba Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@openfifth.co.uk> >Date: Tue, 13 May 2025 20:08:37 +0100 >Subject: [PATCH] Bug 35451: (follow-up) Fix C4::Acquisition::TransferOrder > >This patch adds table name to the additional fields clone found insdie >TransferOrder. >--- > C4/Acquisition.pm | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index ddac26985b7..05b4b6e4e9f 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -1974,9 +1974,10 @@ sub TransferOrder { > foreach my $afv ( $order->additional_field_values->as_list ) { > Koha::AdditionalFieldValue->new( > { >- field_id => $afv->field_id, >- record_id => $newordernumber, >- value => $afv->value, >+ field_id => $afv->field_id, >+ record_id => $newordernumber, >+ record_table => 'aqorders', >+ value => $afv->value, > } > )->store; > } >-- >2.51.0
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 35451
:
159390
|
159391
|
159392
|
159393
|
159394
|
159747
|
159748
|
159749
|
159750
|
159751
|
173147
|
173148
|
173149
|
173150
|
173151
|
173421
|
173422
|
173423
|
173424
|
173425
|
178332
|
178333
|
178334
|
178335
|
178336
|
178337
|
178338
|
178339
|
178340
|
178341
|
180806
|
180807
|
180808
|
180809
|
180810
|
182401
|
182402
|
182403
|
182404
|
182405
|
182406
|
182407
|
182408
|
182409
|
182410
|
182411
|
182412
|
182413
|
187210
|
187211
|
187212
|
187213
|
187214
|
187215
|
187216
|
187464
|
187465
|
187466
|
187467
|
187468
|
187469
|
187470
|
187471