mirror of https://github.com/MISP/MISP
fix: [logs] Fixed bug in paginating logs
parent
002749d5d9
commit
021ae24e3f
|
@ -120,6 +120,9 @@ class LogsController extends AppController
|
|||
if ($key === 'created') {
|
||||
$key = 'created >=';
|
||||
}
|
||||
if ($key == 'page' || $key == 'limit') {
|
||||
continue;
|
||||
}
|
||||
$this->paginate['conditions']["Log.$key"] = $value;
|
||||
}
|
||||
$this->set('validFilters', $validFilters);
|
||||
|
|
Loading…
Reference in New Issue