Page MenuHomePhabricator

Transactions - fix pagination bug
ClosedPublic

Authored by btrahan on Dec 5 2014, 12:15 AM.
Tags
None
Referenced Files
F14353144: D10933.id.diff
Thu, Dec 19, 4:25 PM
F14352175: D10933.id26261.diff
Thu, Dec 19, 1:20 PM
F14352174: D10933.diff
Thu, Dec 19, 1:20 PM
Unknown Object (File)
Sat, Dec 14, 12:36 PM
Unknown Object (File)
Fri, Dec 13, 9:18 AM
Unknown Object (File)
Fri, Dec 13, 9:18 AM
Unknown Object (File)
Fri, Dec 13, 8:56 AM
Unknown Object (File)
Fri, Dec 13, 7:33 AM
Subscribers

Details

Summary

Fixes T6694. Ref T4712. Turns out the logic here was slightly incorrect; we don't want to use the id of the last thing we hid but rather the first thing we show. I had garbage test data ("asdsadsadsa", etc) I guess so I didn't notice this.

Test Plan

made a new task where user a and user b alternated 3 comments each, cooperatively numbering them from 1 - 20. as both users, showed older transactions. pre-patch the issue described in T6694 occurred and post patch I saw the entire counting sequence.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan retitled this revision from to Transactions - fix pagination bug.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Dec 5 2014, 12:46 AM
This revision was automatically updated to reflect the committed changes.