From d953ecf2977bac15cf3e4e3c928963502ed44325 Mon Sep 17 00:00:00 2001 From: buttle Date: Wed, 10 Nov 2021 14:58:19 +0100 Subject: [PATCH] resets page_count on site search --- src/store.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store.js b/src/store.js index 32d83f4..094afec 100644 --- a/src/store.js +++ b/src/store.js @@ -40,6 +40,7 @@ const store = new Vuex.Store({ } } state.filtered_sites = sites + state.page_count = 1 }, setColumnOrder(state, payload) { state.sites = _.sortBy(state.sites, payload.column_name)