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:
parent
ca388d95fd
commit
e5b97cd17c
1 changed files with 1 additions and 2 deletions
|
@ -50,8 +50,7 @@ final class PhabricatorTypeaheadModularDatasourceController
|
||||||
->setViewer($viewer)
|
->setViewer($viewer)
|
||||||
->setQuery($query)
|
->setQuery($query)
|
||||||
->setRawQuery($raw_query)
|
->setRawQuery($raw_query)
|
||||||
->setLimit($limit);
|
->setLimit($limit + 1);
|
||||||
|
|
||||||
|
|
||||||
if ($is_browse) {
|
if ($is_browse) {
|
||||||
if (!$composite->isBrowsable()) {
|
if (!$composite->isBrowsable()) {
|
||||||
|
|
Loading…
Reference in a new issue