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)
Feb 21 2024, 2:29 AM
Unknown Object (File)
Feb 19 2024, 7:01 AM
Unknown Object (File)
Feb 13 2024, 5:06 AM
Unknown Object (File)
Dec 21 2023, 10:33 AM
Unknown Object (File)
Dec 5 2023, 9:54 AM
Unknown Object (File)
Nov 30 2023, 12:37 AM
Unknown Object (File)
Nov 15 2023, 8:35 AM
Unknown Object (File)
Nov 11 2023, 3:54 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.