Bugzilla – Attachment 3566 Details for
Bug 5637
csv export minor improvement : clean blank chars
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
0001-Bug-5037-MT3044-Fix-CSV-export-when-rer-are-blank-ch.patch (text/plain), 762 bytes, created by
Chris Cormack
on 2011-03-31 02:56:47 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-03-31 02:56:47 UTC
Size:
762 bytes
patch
obsolete
>From ca948d45ef5282b5d0c6f8635cc51361a48ac63a Mon Sep 17 00:00:00 2001 >From: Henri-Damien LAURENT <henridamien.laurent@biblibre.com> >Date: Mon, 10 May 2010 09:45:18 +0200 >Subject: [PATCH] Bug 5037 : MT3044 : Fix CSV export when rer are blank characters > >--- > C4/Record.pm | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/C4/Record.pm b/C4/Record.pm >index b313fb8..990bb50 100644 >--- a/C4/Record.pm >+++ b/C4/Record.pm >@@ -411,6 +411,8 @@ sub marcrecord2csv { > foreach (@marcfields) { > > my $field = $_->{field}; >+ # Remove any blank char that might have unintentionally insered into the tag name >+ $field =~ s/\s+//g; > > # If we have a user-supplied header, we use it > if (exists $_->{header}) { >-- >1.7.1 >
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 5637
: 3566