Page MenuHomePhabricator

Fix a bad variable in global typehaead order/limit code
ClosedPublic

Authored by epriestley on Apr 17 2017, 2:34 PM.
Tags
None
Referenced Files
F20099441: D17700.diff
Tue, Jun 2, 7:05 AM
Unknown Object (File)
Apr 17 2026, 1:25 AM
Unknown Object (File)
Feb 10 2026, 2:13 AM
Unknown Object (File)
Oct 13 2025, 11:36 AM
Unknown Object (File)
Oct 7 2025, 10:00 AM
Unknown Object (File)
Oct 6 2025, 11:51 PM
Unknown Object (File)
Oct 6 2025, 10:09 PM
Unknown Object (File)
Oct 5 2025, 1:19 AM
Subscribers
None

Details

Summary

Ref T12538. I missed this in D17695, which renamed the variable. The logic was also a little off since jj is an index, not a count.

Test Plan

Typed con in global search, which hits "Con-pherence", "Con-duit" and "Con-fig", plus a bunch of other stuff. Got results after patch.

Diff Detail

Repository
rP Phabricator
Branch
type1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16502
Build 21980: Run Core Tests
Build 21979: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Apr 17 2017, 2:34 PM
This revision was automatically updated to reflect the committed changes.