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
F15522724: D17700.id.diff
Sun, Apr 20, 8:57 PM
F15517299: D17700.diff
Sat, Apr 19, 1:47 AM
F15516765: D17700.diff
Fri, Apr 18, 9:06 PM
F15507228: D17700.diff
Tue, Apr 15, 5:41 PM
F15423777: D17700.id42568.diff
Mar 22 2025, 6:10 PM
F15422818: D17700.id42569.diff
Mar 22 2025, 10:57 AM
F15418488: D17700.id.diff
Mar 20 2025, 11:37 PM
F15415815: D17700.diff
Mar 20 2025, 7:55 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.