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
Unknown Object (File)
Sun, Dec 15, 8:07 PM
Unknown Object (File)
Mon, Dec 9, 11:52 PM
Unknown Object (File)
Mon, Dec 9, 1:37 PM
Unknown Object (File)
Wed, Nov 27, 2:28 PM
Unknown Object (File)
Tue, Nov 26, 6:04 PM
Unknown Object (File)
Nov 21 2024, 8:53 PM
Unknown Object (File)
Nov 20 2024, 9:47 PM
Unknown Object (File)
Nov 18 2024, 4:25 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.