Page MenuHomePhabricator

Fix sorting bug in ProjectDatasource

Authored by amckinley on Dec 18 2018, 8:08 PM.



See Ref T12538.

If a user has more than 100 disabled projects matching their search term, only disabled projects will be returned in the typeahead search results.

Test Plan

Harcoded hard limit in PhabricatorTypeaheadModularDatasourceController to force truncation of search results, observed active project on top of results as expected.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

amckinley created this revision.Dec 18 2018, 8:08 PM
amckinley requested review of this revision.Dec 18 2018, 8:10 PM
epriestley accepted this revision.Dec 18 2018, 8:13 PM
This revision is now accepted and ready to land.Dec 18 2018, 8:13 PM
This revision was automatically updated to reflect the committed changes.