diff --git sites/all/modules/contrib/views_data_export/plugins/views_data_export_plugin_display_export.inc sites/all/modules/contrib/views_data_export/plugins/views_data_export_plugin_display_export.inc
index 4752a38d6fe032d5fb150c3b8351cbef013cb2ce..9b65d515b6417428b7c6b4f3783b8426230b15d3 100644
--- a/views_data_export/plugins/views_data_export_plugin_display_export.inc
+++ b/views_data_export/plugins/views_data_export_plugin_display_export.inc
@@ -302,10 +302,13 @@ class views_data_export_plugin_display_export extends views_plugin_display_feed
       $querystring['return-url'] = $this->view->get_url(NULL, $this->view->display[$_GET['attach']]->handler->get_path());
     }
 
+    // Fetch current query
+    $query = $this->view->get_exposed_input();
+
     //Set the batch off
     $batch = array(
       'operations' => array (
-        array('_views_data_export_batch_process', array($this->batched_execution_state->eid, $this->view->current_display)),
+        array('_views_data_export_batch_process', array($this->batched_execution_state->eid, $this->view->current_display, $query)),
       ),
       'title' => t('Building export'),
       'init_message' => t('Export is starting up.'),

diff --git sites/all/modules/contrib/views_data_export/views_data_export.module sites/all/modules/contrib/views_data_export/views_data_export.module
index 7bea5df5767cd0062fbe0b2c0ee233639f0d4e35..8187c65921dedc79bac4d9223ff6dd99e665deb7 100644
--- a/views_data_export/views_data_export.module
+++ b/views_data_export/views_data_export.module
@@ -144,7 +144,7 @@ function views_data_export_garbage_collect($expires = NULL, $chunk = NULL) {
  * Batch API callback.
  * Handles all batching operations by executing the appropriate view.
  */
-function _views_data_export_batch_process($export_id, $display_id, &$context) {
+function _views_data_export_batch_process($export_id, $display_id, $query, &$context) {
   // Don't show the admin menu on batch page, some people don't like it.
   if (module_exists('admin_menu')) {
     module_invoke('admin_menu', 'suppress');
@@ -154,6 +154,10 @@ function _views_data_export_batch_process($export_id, $display_id, &$context) {
   $view = views_data_export_view_retrieve($export_id);
   $view->set_display($display_id);
 
+  // Merge query
+  $query += $view->get_exposed_input();
+  $view->set_exposed_input($query);
+
   // Inform the data_export display which export it corresponds to and execute
   if (!isset($view->display_handler->batched_execution_state)) {
     $view->display_handler->batched_execution_state = new stdClass();
