misc: improve pagination

This commit is contained in:
Xylight committed 2024-09-02 17:46:28 -07:00
1 parent 868f0c589a
commit cc25808742
4 files changed
+13 -6

No files matched your search

+7 -1
View File
@@ -58,5 +58,11 @@ export async function load({ url, fetch }) {
publishedToDate(a.published).getTime()
)
return { unreadOnly: unreadOnly, type: type, page: page, data: data }
return {
unreadOnly: unreadOnly,
type: type,
page: page,
data: data,
limit: 20,
}
}