1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00

Fix typeahead browse dialog paging

Summary: This accidentally got disabled; we need to pull one more result that we'll use to tell if there's a next page.

Test Plan: Saw "more results" again.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D12461
This commit is contained in:
epriestley 2015-04-18 11:07:23 -07:00
parent ca388d95fd
commit e5b97cd17c

View file

@ -50,8 +50,7 @@ final class PhabricatorTypeaheadModularDatasourceController
->setViewer($viewer)
->setQuery($query)
->setRawQuery($raw_query)
->setLimit($limit);
->setLimit($limit + 1);
if ($is_browse) {
if (!$composite->isBrowsable()) {