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)
Fri, Dec 13, 5:21 AM
Unknown Object (File)
Wed, Dec 11, 9:51 PM
Unknown Object (File)
Mon, Dec 9, 11:29 AM
Unknown Object (File)
Thu, Nov 28, 4:33 PM
Unknown Object (File)
Wed, Nov 27, 10:12 AM
Unknown Object (File)
Wed, Nov 27, 7:28 AM
Unknown Object (File)
Tue, Nov 26, 6:54 PM
Unknown Object (File)
Mon, Nov 25, 4:05 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
Branch
taglimit
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 11243
Build 13964: Run Core Tests
Build 13963: arc lint + arc unit

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.