From 9f63b3e1f94d0bc9ff563535a6229afff19e1ab0 Mon Sep 17 00:00:00 2001 From: xiaoxuan010 <2592053474@qq.com> Date: Tue, 1 Sep 2026 21:20:37 +0800 Subject: [PATCH] fix: limit knowledge base document page size options to drop invalid 'All' value The v-data-table-server in DocumentsTab inherits Vuetify's default items-per-page-options [10, 25, 50, 100, -1], where -1 renders as 'All'. Selecting it sends page_size=-1, which the backend clamps to 1, so the document list shows only one item. Explicitly set :items-per-page-options to [10, 25, 50, 100] so the 'All' option is no longer offered, consistent with other pages such as ConversationPage. Closes #9907 --- dashboard/src/views/knowledge-base/components/DocumentsTab.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard/src/views/knowledge-base/components/DocumentsTab.vue b/dashboard/src/views/knowledge-base/components/DocumentsTab.vue index a5221184f7..9e890d2c8d 100644 --- a/dashboard/src/views/knowledge-base/components/DocumentsTab.vue +++ b/dashboard/src/views/knowledge-base/components/DocumentsTab.vue @@ -12,6 +12,7 @@