Problem: Prev Page is for moving forward
All checks were successful
continuous-integration/drone/push Build is passing

Solution: Use after in pagination
This commit is contained in:
Peter Stuifzand 2022-04-16 20:43:55 +02:00
parent 416a3733de
commit 1606711d98
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -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{}