From c2078093b64f4ae8458dbde59c481d3a5149234e Mon Sep 17 00:00:00 2001 From: Pierre Romera Date: Mon, 21 Oct 2024 15:42:07 +0000 Subject: [PATCH] refactor: remove retro compatibility in state --- src/store/modules/search.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/store/modules/search.js b/src/store/modules/search.js index 305db69c7..029586826 100644 --- a/src/store/modules/search.js +++ b/src/store/modules/search.js @@ -467,11 +467,6 @@ function actionsBuilder(api) { commit('query', q) } - // Retro compatibility with old query parameters - if (has(q, 'size')) { - commit('app/setSettings', { view: 'search', perPage: q.size }, { root: true }) - } - // Then mutates all values if they are in queryOrParams. The mutation // for "indices" must be after "index" since the two mutations are // updating concurent values.