I have a list of flagged content that a user would like to export to a CSV. I created a view that has a couple of exposed filters. I know that an attachment view has the ability to inherit exposed filters, is it possible to export a CSV list based on exposed filters instead of the unfiltered list?

Comments

steven jones’s picture

Category: feature » support
Status: Active » Fixed

It is, in the style's settings for the attachment, check 'Parent sort', and you'll also inherit the filters from the parent.

Apologies that that isn't as obvious as it probably needs to be.

jdlind38’s picture

Ahh... I realized my mistake. You have to have the same exposed filters in the export view as the list view. I made the change and it works like a charm. Thanks for the quick response ;)

You're right, I didn't know what "Parent sort" was. Maybe it could say "Inherit exposed filter" like the views attachment. If not, maybe you could add something about the exposed filter in the description.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

user654’s picture

.

zatox’s picture

pinkonomy, In the "Data export" display set the "number of items to display" to unlimited. Options will change depending on wich version of views you are using. What you need to do is display all items with no pager for only this display. I had the same problem with Views 3 and that solved it.

chinita7’s picture

It was stuck with this for hours and just before gave it up I found this thread.
Thanks a lot.
Hope this goes to to http://drupal.org/node/1820452
The documentation says

Make sure you check "Remember Last Selection" in the exposed filters you're using.

but doesn't explain about 'Parent sort'..