Page MenuHomePhabricator

Fix sorting bug in ProjectDatasource
ClosedPublic

Authored by amckinley on Dec 18 2018, 8:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 28, 4:27 AM
Unknown Object (File)
Tue, Jan 28, 4:27 AM
Unknown Object (File)
Tue, Jan 28, 4:27 AM
Unknown Object (File)
Sat, Jan 25, 3:57 PM
Unknown Object (File)
Sat, Jan 25, 2:54 AM
Unknown Object (File)
Sat, Jan 25, 2:54 AM
Unknown Object (File)
Sat, Jan 25, 2:54 AM
Unknown Object (File)
Sat, Jan 18, 12:42 PM
Subscribers

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
Lint Not Applicable
Unit
Tests Not Applicable