From e994ae72b6eaa9c4e4287645a3f34156e93fbe90 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 25 Nov 2024 12:08:37 +0100 Subject: [PATCH] fix: refs #8207 add filter to reset --- src/components/ui/VnPaginate.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/VnPaginate.vue b/src/components/ui/VnPaginate.vue index 19c98e0cf..f3f6d64f1 100644 --- a/src/components/ui/VnPaginate.vue +++ b/src/components/ui/VnPaginate.vue @@ -132,7 +132,7 @@ const addFilter = async (filter, params) => { async function fetch(params) { useArrayData(props.dataKey, params); - arrayData.reset(['filter.skip', 'skip']); + arrayData.reset(['filter.skip', 'skip', 'page']); await arrayData.fetch({ append: false }); return emitStoreData(); }