Closed (duplicate)
Project:
Views data export
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Nov 2011 at 16:58 UTC
Updated:
28 May 2013 at 20:45 UTC
hi all,
I've attached my data-export display to a page display. This page has some exposed filter.
"filename" configuration is: %view-%exposed_%timestamp-full.csv
Well, when i see my page view with some exposed filters setted up (e.g. first name = Alan), I can see the CSV button on the bottom, and it point to:
http://www.site.com/admin/utenti/export-csv?first_name=Alan&surname=&mai...
So I think the querystring is correct, but the resulting filename is:
utenti-default_2011-11-09T17-12-22.csv
as if the filters had not been set
I can't obtain exposed filters token in my filename: why?
Thank you very much
Comments
Comment #1
danielphenry commentedAlso seeing this. exposed filter works great but the token always says "default".
Comment #2
jelle_sSame problem here. Filter works looking at the result I'm getting, but the token doesn't.
Comment #3
steven jones commentedSo this is because we compute this filename right at the end of the batching process, and so we lose the context. We need to capture this information up-front I think.
Comment #4
steven jones commentedThis will need tests.
Comment #5
steven jones commentedNot sure how we're going to test this...or implement this, this might need to wait until after the 'big refactor' when this sort of thing should be easy to do.
Comment #6
steven jones commentedThis was actually done: #1871560: Exposed input not set on batch exports