fix machine client pagination

This commit is contained in:
miloschwartz
2026-02-27 11:59:55 -08:00
parent 0d63a15715
commit 4aa1186aed

View File

@@ -363,7 +363,7 @@ export async function listClients(
const countQuery = db.$count(baseQuery.as("filtered_clients"));
const listMachinesQuery = baseQuery
.limit(page)
.limit(pageSize)
.offset(pageSize * (page - 1))
.orderBy(
sort_by