Closed (fixed)
Project:
User CSV Import
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 May 2021 at 16:32 UTC
Updated:
7 Jul 2021 at 03:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
aaronbaumanThis patch adds a "Generate Sample" button to the form, which when clicked sends a CSV response based on the selected fields.
Comment #3
aaronbaumanFixed path
Comment #4
eahonet commented@AaronBauman very cool patch. Adds a simple button, generates a csv.
The concern I have is the unneeded columns in the CSV. When I tested the code, it generates a lot of columns with the title "0" (one for each field NOT selected). See attached.
Comment #5
aaronbaumanComment #6
aaronbaumanGood catch - thanks for the feedback.
array_filterto the rescue, and removed some cruftComment #8
eahonet commentedComment #9
eahonet commented