https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41617

Marcel de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #191582|0                           |1
        is obsolete|                            |
 Attachment #192337|0                           |1
        is obsolete|                            |

--- Comment #7 from Marcel de Rooy <[email protected]> ---
Created attachment 192603
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192603&action=edit
Bug 41617: Remove extra spaces breaking CSV formatting

This patch removes extra spaces breaking CSV parsing in tools like Excel.

To test:
1. Perform an item search selecting the CSV option
2. Open the CSV with a TEXT EDITOR of your choice
=> FAIL: Notice the extra spaces after the commas (those used as separators, no
the ones within the double quotes)
3. Apply this patch
4. Repeat 1-2
=> SUCCESS: No extra spaces!
5. Sign off :-D

Note: On the first attempt you can open the file on Excel if you have it and
notice things are not aligned.
Note2: Using double quotes on all fields regardless of the context works for
most parsers, but is not correct CSV. Will deal with it on a separate bug.

Signed-off-by: Tomás Cohen Arazi <[email protected]>
Signed-off-by: David Nind <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

Signed-off-by: Marcel de Rooy <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to