Skip to content

Commit

Permalink
Update blog list query
Browse files Browse the repository at this point in the history
  • Loading branch information
valiantlynx committed Jan 5, 2024
1 parent a861282 commit c89cad4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/+page.server.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { getImageURL, serializeNonPOJOs } from '$lib/utils/api';

export const load = async (event) => {
const blogs = await event.locals.pb.collection('blogs').getList(1, 7, {
sort: 'created',
const blogs = await event.locals.pb.collection('blogs').getList(1, 10, {
sort: '-create',
expand: 'author'
});

Expand Down

0 comments on commit c89cad4

Please sign in to comment.