Page MenuHomePhabricator

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

Authored by epriestley on Apr 17 2017, 2:34 PM.

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.