Problem: Prev Page is for moving forward
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Solution: Use after in pagination
This commit is contained in:
parent
416a3733de
commit
1606711d98
|
@ -181,8 +181,8 @@ WHERE "channel_id" = $1
|
|||
}
|
||||
|
||||
// TODO: should only be set of there are more items available
|
||||
tl.Paging.Before = last
|
||||
// tl.Paging.After = last
|
||||
// tl.Paging.Before = last
|
||||
tl.Paging.After = last
|
||||
|
||||
if tl.Items == nil {
|
||||
tl.Items = []microsub.Item{}
|
||||
|
|
Loading…
Reference in New Issue
Block a user