diff --git a/views_data_export/plugins/views_data_export_plugin_display_export.inc b/views_data_export/plugins/views_data_export_plugin_display_export.inc index a216ebd..1e9bcb6 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 @@ -320,7 +320,7 @@ class views_data_export_plugin_display_export extends views_plugin_display_feed //Set the batch off $batch = array( 'operations' => array ( - array('_views_data_export_batch_process', array($this->batched_execution_state->eid, $this->view->current_display, $this->view->get_exposed_input())), + array('_views_data_export_batch_process', array($this->batched_execution_state->eid, $this->view->current_display)), ), 'title' => t('Building export'), 'init_message' => t('Export is starting up.'), @@ -337,7 +337,6 @@ class views_data_export_plugin_display_export extends views_plugin_display_feed // e.g. Drush to grab this batch and yet execute it in // it's own special way $batch['view_name'] = $this->view->name; - $batch['exposed_filters'] = $this->view->get_exposed_input(); $batch['display_id'] = $this->view->current_display; $batch['eid'] = $this->batched_execution_state->eid; $batch_redirect = array($final_destination, array('query' => $querystring)); diff --git a/views_data_export/views_data_export.module b/views_data_export/views_data_export.module index 325224e..ca656da 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, $exposed_input, &$context) { +function _views_data_export_batch_process($export_id, $display_id, &$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'); @@ -153,9 +153,6 @@ function _views_data_export_batch_process($export_id, $display_id, $exposed_inpu // Fetch the view in question from our cache $view = views_data_export_view_retrieve($export_id); $view->set_display($display_id); - if (!empty($exposed_input)) { - //$view->set_exposed_input($exposed_input); - } // 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();