Bugzilla – Attachment 63964 Details for
Bug 8612
CSV export profile to have custom fields in export csv basket
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8612: Remove warnings from tests
Bug-8612-Remove-warnings-from-tests.patch (text/plain), 1.07 KB, created by
Jonathan Druart
on 2017-06-05 15:35:30 UTC
(
hide
)
Description:
Bug 8612: Remove warnings from tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-05 15:35:30 UTC
Size:
1.07 KB
patch
obsolete
>From 7598ea01b4326d0c36c76c43c4d04976655c5f51 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 5 Jun 2017 12:35:10 -0300 >Subject: [PATCH] Bug 8612: Remove warnings from tests > >--- > C4/Acquisition.pm | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index 16f4424..ed80b26 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -315,8 +315,11 @@ sub GetBasketAsCSV { > my $bd = GetBiblioData( $order->{'biblionumber'} ); > my @biblioitems = GetBiblioItemByBiblioNumber( $order->{'biblionumber'}); > for my $biblioitem (@biblioitems) { >- if ($biblioitem->{isbn} eq $order->{isbn}) { >- $order = {%$order, %$biblioitem}; >+ if ( $biblioitem->{isbn} >+ and $order->{isbn} >+ and $biblioitem->{isbn} eq $order->{isbn} ) >+ { >+ $order = { %$order, %$biblioitem }; > } > } > if ($contract) { >-- >2.1.4
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 8612
:
11514
|
36860
|
37289
|
37293
|
41224
|
41225
|
41226
|
41227
|
42532
|
42533
|
42534
|
47591
|
47592
|
47593
|
56222
|
56223
|
56224
|
56225
|
57012
|
57013
|
57024
|
57025
|
57026
|
57027
|
57028
|
57029
|
57079
|
58073
|
58074
|
58075
|
58076
|
58077
|
58078
|
58079
|
58985
|
58986
|
58987
|
58988
|
58989
|
58990
|
58991
|
58992
|
59757
|
60480
|
61264
|
61265
|
61266
|
61267
|
61405
|
61520
|
63048
|
63049
|
63050
|
63051
|
63052
|
63053
|
63054
|
63055
|
63056
|
63104
|
63158
|
63279
|
63910
|
63911
|
63912
|
63913
|
63914
|
63915
| 63964 |
63966