mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
loggin - limit rowCount (#5589)
This commit is contained in:
parent
f64dfb8976
commit
4b5a074401
@ -59,7 +59,7 @@ class LogController extends ApiControllerBase
|
||||
return ["status" => "ok"];
|
||||
} else {
|
||||
// fetch query parameters (limit results to prevent out of memory issues)
|
||||
$itemsPerPage = $this->request->getPost('rowCount', 'int', 9999);
|
||||
$itemsPerPage = $this->request->getPost('rowCount') == -1 ? 5000 : $this->request->getPost('rowCount', 'int', 9999);
|
||||
$currentPage = $this->request->getPost('current', 'int', 1);
|
||||
|
||||
if ($this->request->getPost('searchPhrase', 'string', '') != "") {
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
sorting:false,
|
||||
rowSelect: false,
|
||||
selection: false,
|
||||
rowCount:[20,50,100,200,500,1000,-1],
|
||||
rowCount:[20,50,100,200,500,1000,5000],
|
||||
formatters:{
|
||||
page: function (column, row) {
|
||||
if ($("input.search-field").val() !== "" || $('#severity_filter').val().length > 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user