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
F18784015: D17700.id42568.diff
Oct 13 2025, 11:36 AM
F18765177: D17700.id.diff
Oct 7 2025, 10:00 AM
F18763336: D17700.id.diff
Oct 6 2025, 11:51 PM
F18763011: D17700.id.diff
Oct 6 2025, 10:09 PM
F18754780: D17700.diff
Oct 5 2025, 1:19 AM
F18733550: D17700.id.diff
Sep 30 2025, 10:37 PM
F18508744: D17700.id.diff
Sep 5 2025, 2:59 AM
F18500863: D17700.diff
Sep 4 2025, 9:23 PM
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.