Page MenuHomePhabricator

Fix a dashboard bucketing bug
ClosedPublic

Authored by epriestley on May 16 2016, 6:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 13, 12:23 AM
Unknown Object (File)
Tue, Apr 2, 8:50 PM
Unknown Object (File)
Sat, Mar 30, 11:03 PM
Unknown Object (File)
Sat, Mar 30, 1:54 AM
Unknown Object (File)
Fri, Mar 29, 1:35 PM
Unknown Object (File)
Fri, Mar 29, 10:39 AM
Unknown Object (File)
Fri, Mar 29, 10:38 AM
Unknown Object (File)
Fri, Mar 29, 10:38 AM
Subscribers
None

Details

Summary

Ref T10939. For various historical reasons, revision status is a numeric string. This comparison fails because it's (string) !== (int). Just use != so this will still work if we turn it into a real string in the future.

Test Plan

Tried a more specific test case locally, got better looking results in "Must Review" and "Should Review".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix a dashboard bucketing bug.
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.May 16 2016, 6:05 PM
This revision was automatically updated to reflect the committed changes.