Page MenuHomePhabricator

Fix tag limit logic in PHUIHandleTagListView
ClosedPublic

Authored by epriestley on Mar 22 2016, 4:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 10:10 PM
Unknown Object (File)
Tue, Apr 16, 10:10 PM
Unknown Object (File)
Feb 28 2024, 8:10 AM
Unknown Object (File)
Feb 10 2024, 11:01 PM
Unknown Object (File)
Feb 8 2024, 6:33 PM
Unknown Object (File)
Jan 9 2024, 10:41 AM
Unknown Object (File)
Dec 20 2023, 7:55 PM
Unknown Object (File)
Dec 19 2023, 12:38 AM
Subscribers
None

Details

Summary

Fixes T10648. This was goofed and always did a meaningless no-op slice -- I mucked it up while doing the disabled project stuff elsewhere.

Test Plan
  • Tagged something with 5 projects.
  • Saw the list sliced to 4 (the limit) with "...".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix tag limit logic in PHUIHandleTagListView.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Mar 22 2016, 4:27 PM

Maybe it would be clearer to say count > limit instead of limit < count, let me swap that.

epriestley edited edge metadata.
  • Use slightly more clear expressions.
This revision was automatically updated to reflect the committed changes.