Closed rafaehlers closed 5 years ago
Fixed this particular issue.
This might pop up in later issues as well as CSV hasn't been tested too well. Problem is that all our current fields are HTML-specific. For everything else there's a fallback (field.php or field-csv.php for example). This fallback just outputs the stored value.
I just demoted content and date fields to generic fields (non HTML specific). They contain no HTML. We cannot do this with fields like ratings, since we don't want HTML markup to be exported in CSV. So right now those will be sent as they are stored.
Email field is still linked in CSV even when link the email address is not checked. This appears correctly on the frontend, the link only appears when the data is exported.
Also, if there's more than one custom field in the View, only one field gets exported.
https://debug.gravityview.co/testing/view/products/. There are 3 custom fields in the View
https://secure.helpscout.net/conversation/740212957/18345?folderId=408730
Both issues fixed. Please test and let me know.
Also, @altoin please create new tickets instead of reopening old ones, unless it's an old issue. This helps keep new fixes separate and easy to manage.
A user reported and Toyin was able to confirm (https://debug.gravityview.co/testing/view/products/csv/):
Tested with GV 2.2.3
┆Issue is synchronized with this Asana task