Skip to content
Snippets Groups Projects

Adjust the way the fetch content method in the connection clas cache the...

2 files
+ 25
14
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -304,6 +304,7 @@ class ViewsCsvQuery extends QueryPluginBase {
if (!empty($view->live_preview)) {
$this->messenger->addError($e->getMessage());
}
$this->logger->error($e->getMessage());
}
// Avoid notices about $view->execute_time being undefined if the query
@@ -614,7 +615,7 @@ class ViewsCsvQuery extends QueryPluginBase {
* The headers of the CSV file.
*/
public function getCsvHeader(): array {
return $this->connection->getCsvHeader($this->getCsvFileUri());
return $this->connection->getCsvHeader($this->getCsvFileUri(), $this->getQueryOptions());
}
/**
Loading