Page MenuHomePhabricator

Fix sorting bug in ProjectDatasource
ClosedPublic

Authored by amckinley on Dec 18 2018, 8:08 PM.
Tags
None
Referenced Files
F18756791: D19907.id.diff
Sun, Oct 5, 1:32 PM
F18755183: D19907.id47519.diff
Sun, Oct 5, 4:11 AM
F18733869: D19907.id.diff
Tue, Sep 30, 10:43 PM
F18646090: D19907.id47521.diff
Fri, Sep 19, 9:25 AM
F18599396: D19907.diff
Sat, Sep 13, 7:20 AM
F18541788: D19907.diff
Sep 7 2025, 9:37 PM
F18510035: D19907.id.diff
Sep 5 2025, 3:44 AM
F18503683: D19907.diff
Sep 4 2025, 11:17 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
Branch
project-sort (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21373
Build 29098: Run Core Tests
Build 29097: arc lint + arc unit