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) <noreply@anthropic.com>
This commit is contained in:
8
ui/src/api/schema.d.ts
vendored
8
ui/src/api/schema.d.ts
vendored
@@ -115,10 +115,10 @@ export interface components {
|
|||||||
agentId?: string;
|
agentId?: string;
|
||||||
status?: string;
|
status?: string;
|
||||||
text?: string;
|
text?: string;
|
||||||
page?: number;
|
offset?: number;
|
||||||
size?: number;
|
limit?: number;
|
||||||
sort?: string;
|
sortField?: string;
|
||||||
order?: string;
|
sortDir?: string;
|
||||||
};
|
};
|
||||||
ExecutionDetail: {
|
ExecutionDetail: {
|
||||||
executionId: string;
|
executionId: string;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export default function Dashboard() {
|
|||||||
timeFrom, timeTo,
|
timeFrom, timeTo,
|
||||||
routeId: routeId || undefined,
|
routeId: routeId || undefined,
|
||||||
group: appId || undefined,
|
group: appId || undefined,
|
||||||
page: 0, size: 50,
|
offset: 0, limit: 50,
|
||||||
}, true);
|
}, true);
|
||||||
const { data: detail } = useExecutionDetail(selectedId);
|
const { data: detail } = useExecutionDetail(selectedId);
|
||||||
const { data: snapshot } = useProcessorSnapshot(selectedId, processorIdx);
|
const { data: snapshot } = useProcessorSnapshot(selectedId, processorIdx);
|
||||||
|
|||||||
Reference in New Issue
Block a user