mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-28 07:46:36 +00:00
fix machine client pagination
This commit is contained in:
@@ -363,7 +363,7 @@ export async function listClients(
|
|||||||
const countQuery = db.$count(baseQuery.as("filtered_clients"));
|
const countQuery = db.$count(baseQuery.as("filtered_clients"));
|
||||||
|
|
||||||
const listMachinesQuery = baseQuery
|
const listMachinesQuery = baseQuery
|
||||||
.limit(page)
|
.limit(pageSize)
|
||||||
.offset(pageSize * (page - 1))
|
.offset(pageSize * (page - 1))
|
||||||
.orderBy(
|
.orderBy(
|
||||||
sort_by
|
sort_by
|
||||||
|
|||||||
Reference in New Issue
Block a user