From 097c47ba853d1123d90cc80a918d3174b27fd203 Mon Sep 17 00:00:00 2001 From: lxfight <1686540385@qq.com> Date: Wed, 2 Sep 2026 14:19:12 +0800 Subject: [PATCH] fix: remove All option from KB documents pagination to avoid page_size=-1 The documents table inherited Vuetify's default items-per-page options, which include -1 (displayed as All). The backend clamps page_size to at least 1, so selecting All returned a single document. Explicitly provide [10, 25, 50, 100], consistent with other pages. --- 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..eb3bb9416d 100644 --- a/dashboard/src/views/knowledge-base/components/DocumentsTab.vue +++ b/dashboard/src/views/knowledge-base/components/DocumentsTab.vue @@ -13,6 +13,7 @@