Problem: Items call returns 10 Items, 20 is better
Solution: Items returns 20 items now
This commit is contained in:
parent
8adfb56274
commit
7da53da8e1
|
@ -136,7 +136,7 @@ WHERE "channel_id" = $1
|
||||||
qb.WriteString(` AND "published_at" < $2`)
|
qb.WriteString(` AND "published_at" < $2`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
qb.WriteString(` ORDER BY "published_at" DESC LIMIT 10`)
|
qb.WriteString(` ORDER BY "published_at" DESC LIMIT 20`)
|
||||||
|
|
||||||
rows, err := conn.QueryContext(context.Background(), qb.String(), args...)
|
rows, err := conn.QueryContext(context.Background(), qb.String(), args...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user