Bugzilla – Attachment 63158 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: QA followup - strip white chars from csv profile definition
Bug-8612-QA-followup---stip-white-chars-from-csv-p.patch (text/plain), 828 bytes, created by
Josef Moravec
on 2017-05-05 08:43:40 UTC
(
hide
)
Description:
Bug 8612: QA followup - strip white chars from csv profile definition
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-05-05 08:43:40 UTC
Size:
828 bytes
patch
obsolete
>From 6efb7889ca0660159cf33371ce023ff78e23e057 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Fri, 5 May 2017 08:46:34 +0000 >Subject: [PATCH] Bug 8612: QA followup - stip white chars from csv profile > definition > >--- > C4/Acquisition.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index 7a70852..0b1229f 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -293,6 +293,7 @@ sub GetBasketAsCSV { > > my $csv = Text::CSV_XS->new({'quote_char'=>'"','escape_char'=>'"','sep_char'=>$csv_profile->csv_separator,'binary'=>1}); > my $csv_profile_content = $csv_profile->content; >+ $csv_profile_content =~ s/[\s]*//g; > my ( @headers, @fields ); > while ( $csv_profile_content =~ / > ([^=\|]+) # header >-- >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