mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 03:53:13 +00:00
Fix #1155 Export CSV truncated
This commit is contained in:
@@ -70,7 +70,7 @@ class module_report_sqldownload extends module_report_sql implements module_repo
|
||||
$stmt->execute($this->params);
|
||||
$this->total_row = $stmt->rowCount();
|
||||
$stmt->closeCursor();
|
||||
|
||||
if ($this->enable_limit)
|
||||
$this->sql .= $this->filter->getLimitFilter() ? : '';
|
||||
} else {
|
||||
$name = $this->groupby;
|
||||
@@ -144,7 +144,9 @@ class module_report_sqldownload extends module_report_sql implements module_repo
|
||||
$this->total = $stmt->rowCount();
|
||||
$stmt->closeCursor();
|
||||
|
||||
if ($this->enable_limit)
|
||||
$this->sql .= $this->filter->getLimitFilter() ? : '';
|
||||
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
@@ -56,6 +56,7 @@ class module_report_sqlquestion extends module_report_sql implements module_repo
|
||||
$this->total_row = $stmt->rowCount();
|
||||
$stmt->closeCursor();
|
||||
|
||||
if ($this->enable_limit)
|
||||
$this->sql .= $this->filter->getLimitFilter() ? : '';
|
||||
} else {
|
||||
$this->sql = "
|
||||
|
Reference in New Issue
Block a user