mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Fix default limit in elasticsearch
This commit is contained in:
parent
6d5dcea3ba
commit
60696de095
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ final class PhabricatorSearchEngineElastic extends PhabricatorSearchEngine {
|
|||
}
|
||||
|
||||
$spec['from'] = (int)$query->getParameter('offset', 0);
|
||||
$spec['size'] = (int)$query->getParameter('limit', 0);
|
||||
$spec['size'] = (int)$query->getParameter('limit', 25);
|
||||
$response = $this->executeRequest($uri, $spec);
|
||||
|
||||
$phids = ipull($response['hits']['hits'], '_id');
|
||||
|
|
Loading…
Reference in a new issue