Commit 535bb207 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(ids) style fix

(cherry picked from commit aaa0ddaf)
parent d2d3e287
...@@ -239,7 +239,7 @@ class ServiceController extends ApiControllerBase ...@@ -239,7 +239,7 @@ class ServiceController extends ApiControllerBase
$filter->add('query', new QueryFilter()); $filter->add('query', new QueryFilter());
// fetch query parameters // fetch query parameters
$itemsPerPage = $this->request->getPost('rowCount', 'int', 9999); $itemsPerPage = $this->request->getPost('rowCount', 'int', -1);
$currentPage = $this->request->getPost('current', 'int', 1); $currentPage = $this->request->getPost('current', 'int', 1);
if ($this->request->getPost('searchPhrase', 'string', '') != "") { if ($this->request->getPost('searchPhrase', 'string', '') != "") {
......
...@@ -74,7 +74,7 @@ class SettingsController extends ApiControllerBase ...@@ -74,7 +74,7 @@ class SettingsController extends ApiControllerBase
// fetch query parameters // fetch query parameters
$itemsPerPage = $this->request->getPost('rowCount', 'int', 9999); $itemsPerPage = $this->request->getPost('rowCount', 'int', -1);
$currentPage = $this->request->getPost('current', 'int', 1); $currentPage = $this->request->getPost('current', 'int', 1);
if ($this->request->hasPost('sort') && is_array($this->request->getPost("sort"))) { if ($this->request->hasPost('sort') && is_array($this->request->getPost("sort"))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment