go icon indicating copy to clipboard operation
go copied to clipboard

Fix Prev link for Paging on an empty set

Open nikhilsaraf opened this issue 6 years ago • 1 comments

when we return an empty set, the previous link maintains the original cursor (same as self link). this will skip the item at that cursor (greater than vs. greater than or equal to logic). We would want to set the cursor to the max possible value in that case as a fix.

see TestAssetsActions which tests paging and is marked with TODOs to update tests that catch this bug

nikhilsaraf avatar Nov 28 '17 17:11 nikhilsaraf