From a3fe1833130d1672e54858db0633b70d6e7c4cd0 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Wed, 20 Sep 2023 10:20:11 +0530 Subject: [PATCH] fix: reset pagination on search --- .../nc-gui/components/virtual-cell/components/ListChildItems.vue | 1 + packages/nc-gui/components/virtual-cell/components/ListItems.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue b/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue index 766df7082d..fba37cf179 100644 --- a/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue +++ b/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue @@ -152,6 +152,7 @@ watch(expandedFormDlg, () => { @focus="isFocused = true" @blur="isFocused = false" @keydown.capture.stop + @change="childrenListPagination.page = 1" > diff --git a/packages/nc-gui/components/virtual-cell/components/ListItems.vue b/packages/nc-gui/components/virtual-cell/components/ListItems.vue index d4a828e3ca..501753dc85 100644 --- a/packages/nc-gui/components/virtual-cell/components/ListItems.vue +++ b/packages/nc-gui/components/virtual-cell/components/ListItems.vue @@ -176,6 +176,7 @@ watch(expandedFormDlg, () => { @focus="isFocused = true" @blur="isFocused = false" @keydown.capture.stop + @change="childrenExcludedListPagination.page = 1" >