go
go copied to clipboard
Fix Prev link for Paging on an empty set
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