export does not respect "exclude from display" settings
Barrett - August 26, 2009 - 19:28
| Project: | Views Bonus Pack |
| Version: | 6.x-1.0-beta4 |
| Component: | Views Export |
| Category: | bug report |
| Priority: | normal |
| Assigned: | andreiashu |
| Status: | closed |
Description
Fields set as being excluded from display in the views interface are not set as headers but are printed in the data rows when exporting table views to either csv or doc files. We have not tested the issue with other output formats so cannot say that it does not occur there.

#1
Further to this, as a useful feature for this module - it would perhaps be ideal if each field can be selectively used in the csv export.
For example: I have a list of nodes with specific cck fields being displayed in the view which i want to have exported in the csv file. For usability/workflow, i provide a node edit and node delete link as fields in the view also. I wish to have these visible in the page view, but not in the csv export. currently there is no way to do this.
Thanks for a great module!
#2
This bug is a little bit more tricky, but it surly exists.
I have managed to get 1 view to output a CSV file, respecting excluded fields, and nicely outputting more complex custom php field and tokens as well - great stuff!
Now - i had many problems getting it to work, and i'm now struggling with another view which i can't figure out what's stopping it from working. I can't point my finger at a specific issue - and can't find any logic - but can't get it work... tried it all...
#3
I'm using the same fields settings for the page view and the feed view - the page displays correctly, the CSV (and views preview) are not correct.I think it's not that tricky after all - it simply doesn't work.
#4
subscribing, I have this problem.
#5
Hi,
This patch should fix the problem.
Cheers
#6
Looks like this is a follow up to #422438: Date fields terminate CSV export on some versions of PHP. Committed. Thanks.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.