Permalink
Browse files

search more rows

  • Loading branch information...
icewind1991 committed Dec 22, 2016
1 parent 71a4c68 commit b9d00b5599ac8a76862895266f1c23096391aad8
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Controller/LogController.php
@@ -79,7 +79,7 @@ public function get($count = 50, $offset = 0) {
*/
public function search($query = '', $count = 50, $offset = 0) {
$iterator = $this->getLogIterator();
$iterator = new \LimitIterator($iterator, 0, 10000); // limit the number of message we search to avoid huge search times
$iterator = new \LimitIterator($iterator, 0, 100000); // limit the number of message we search to avoid huge search times
$iterator->rewind();
$iterator = new SearchFilter($iterator, $query);
$iterator->rewind();

0 comments on commit b9d00b5

Please sign in to comment.