mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Controller: Properly reset the default query limit during exports
This commit is contained in:
parent
e311d8b9a9
commit
0240cc437d
1 changed files with 4 additions and 1 deletions
|
|
@ -368,7 +368,10 @@ class Controller extends CompatController
|
|||
|
||||
// No matter the format, a limit should only apply if set
|
||||
if ($this->format !== null) {
|
||||
$query->limit(Url::fromRequest()->getParam('limit'));
|
||||
if (! Url::fromRequest()->hasParam('limit')) {
|
||||
$query->limit(null)
|
||||
->offset(null);
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->format === 'json' || $this->format === 'csv') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue