Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: On the second page of agent version, switch the page size to empty. (#17732)

balibabua12dee55245c
diff --git a/web/src/components/ui/ragflow-pagination.tsx b/web/src/components/ui/ragflow-pagination.tsx
index ce1d9df74a..6e1446560a 100644
--- a/web/src/components/ui/ragflow-pagination.tsx
+++ b/web/src/components/ui/ragflow-pagination.tsx
@@ -85,10 +85,10 @@ export function RAGFlowPagination({
const handlePageSizeChange = useCallback(
(size: string) => {
- onChange?.(currentPage, Number(size));
+ onChange?.(1, Number(size));
setCurrentPageSize(size);
},
- [currentPage, onChange],
+ [onChange],
);
useEffect(() => {