Loading src/Plugin/views/display/DataExport.php +1 −1 Original line number Diff line number Diff line Loading @@ -906,7 +906,7 @@ class DataExport extends RestExport { // Create a web server accessible URL for the private file. // Permissions for accessing this URL will be inherited from the View // display's configuration. $url = \Drupal::service('file_url_generator')->generateAbsoluteString($results['vde_file']); $url = \Drupal::service('file_url_generator')->generateString($results['vde_file']); $message = t('Export complete. Download the file <a download href=":download_url" data-download-enabled="false" id="vde-automatic-download">here</a>.', [':download_url' => $url]); // If the user specified instant download than redirect to the file. if ($results['automatic_download']) { Loading src/Plugin/views/style/DataExport.php +0 −1 Original line number Diff line number Diff line Loading @@ -173,7 +173,6 @@ class DataExport extends Serializer { if ($pager = $this->view->getPager()) { $url_options['query']['page'] = $pager->getCurrentPage(); } $url_options['absolute'] = TRUE; if (!empty($this->options['formats'])) { $url_options['query']['_format'] = reset($this->options['formats']); } Loading Loading
src/Plugin/views/display/DataExport.php +1 −1 Original line number Diff line number Diff line Loading @@ -906,7 +906,7 @@ class DataExport extends RestExport { // Create a web server accessible URL for the private file. // Permissions for accessing this URL will be inherited from the View // display's configuration. $url = \Drupal::service('file_url_generator')->generateAbsoluteString($results['vde_file']); $url = \Drupal::service('file_url_generator')->generateString($results['vde_file']); $message = t('Export complete. Download the file <a download href=":download_url" data-download-enabled="false" id="vde-automatic-download">here</a>.', [':download_url' => $url]); // If the user specified instant download than redirect to the file. if ($results['automatic_download']) { Loading
src/Plugin/views/style/DataExport.php +0 −1 Original line number Diff line number Diff line Loading @@ -173,7 +173,6 @@ class DataExport extends Serializer { if ($pager = $this->view->getPager()) { $url_options['query']['page'] = $pager->getCurrentPage(); } $url_options['absolute'] = TRUE; if (!empty($this->options['formats'])) { $url_options['query']['_format'] = reset($this->options['formats']); } Loading