export modifyQuery with options
I have a custom page using ExportAction, now I'd like the user to have the possibility to select a custom date range. Now I'm wondering two thing:
- How can I fill the options with a default value
- How can I access the options in the modifyQuery function ?
Thanks!
9 Replies
following this
$action->getOptions() does the trick for me in modifyQueryString
modifyquerystring?
one possible way tht i know is to define both option form and modifyquery on the export action itself, so we can call the array $data arg
in there you can also pass Action $action and do $action->getOptions()
Ah, I see I mistyped originally - it's not modifyQueryString but modifyQueryUsing
@Ray.nl check this out if it helps
Thank you, I will try!