Page MenuHomePhabricator

Fix sorting bug in ProjectDatasource
ClosedPublic

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

Details

Summary

See https://discourse.phabricator-community.org/t/typeahead-returning-only-archived-results/2220. 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

Repository
rP Phabricator
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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.