Sort category by position in bookmark page

master
TZGyn 2 years ago
parent d99dfeb8f9
commit f916144929
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -19,6 +19,7 @@ export default async function DashboardPage() {
with: {
bookmark: true,
},
orderBy: (bookmark, { asc }) => [asc(bookmark.position)],
})
const bookmarkCategoryWithBookmarks = bookmarkCategoryWithBookmarksSchema

Loading…
Cancel
Save