From ea5b5a685d5ec71c8bfb64aaeaefefe52461fcf1 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Thu, 19 Mar 2026 17:55:27 +0100 Subject: [PATCH] fix: correct SearchRequest field names (offset/limit, sortField/sortDir) Dashboard was sending page/size but backend expects offset/limit. Schema also had sort/order instead of sortField/sortDir. Co-Authored-By: Claude Opus 4.6 (1M context) --- ui/src/api/schema.d.ts | 8 ++++---- ui/src/pages/Dashboard/Dashboard.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/src/api/schema.d.ts b/ui/src/api/schema.d.ts index c4b59083..8b081235 100644 --- a/ui/src/api/schema.d.ts +++ b/ui/src/api/schema.d.ts @@ -115,10 +115,10 @@ export interface components { agentId?: string; status?: string; text?: string; - page?: number; - size?: number; - sort?: string; - order?: string; + offset?: number; + limit?: number; + sortField?: string; + sortDir?: string; }; ExecutionDetail: { executionId: string; diff --git a/ui/src/pages/Dashboard/Dashboard.tsx b/ui/src/pages/Dashboard/Dashboard.tsx index f48815b8..a12f5e94 100644 --- a/ui/src/pages/Dashboard/Dashboard.tsx +++ b/ui/src/pages/Dashboard/Dashboard.tsx @@ -27,7 +27,7 @@ export default function Dashboard() { timeFrom, timeTo, routeId: routeId || undefined, group: appId || undefined, - page: 0, size: 50, + offset: 0, limit: 50, }, true); const { data: detail } = useExecutionDetail(selectedId); const { data: snapshot } = useProcessorSnapshot(selectedId, processorIdx);