From a73a2362da90c584a4e608f038e3c2fbaf4b5c33 Mon Sep 17 00:00:00 2001 From: minottic Date: Mon, 26 Jan 2026 20:49:26 +0000 Subject: [PATCH] BREAKING: use new backend syntax for limits --- src/app/datasource.service.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/datasource.service.ts b/src/app/datasource.service.ts index cf8d2075..a5c26afc 100644 --- a/src/app/datasource.service.ts +++ b/src/app/datasource.service.ts @@ -54,9 +54,11 @@ export class DatasourceService { ): string { return this.directMongoAccess ? JSON.stringify({ - order: sortColumn + " " + sortDirection, - skip: itemsPerPage * currentPage, - limit: itemsPerPage, + limits: { + skip: itemsPerPage * currentPage, + limit: itemsPerPage, + order: sortColumn + ":" + sortDirection, + }, fields: itemFields, }) : "(" +