Skip to content

Commit

Permalink
search more rows
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Apr 7, 2017
1 parent 71a4c68 commit b9d00b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/LogController.php
Expand Up @@ -79,7 +79,7 @@ public function get($count = 50, $offset = 0) {
*/ */
public function search($query = '', $count = 50, $offset = 0) { public function search($query = '', $count = 50, $offset = 0) {
$iterator = $this->getLogIterator(); $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->rewind();
$iterator = new SearchFilter($iterator, $query); $iterator = new SearchFilter($iterator, $query);
$iterator->rewind(); $iterator->rewind();
Expand Down

0 comments on commit b9d00b5

Please sign in to comment.