Skip to content

Commit

Permalink
refactor: remove retro compatibility in state
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Oct 21, 2024
1 parent 5bbfe30 commit c207809
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/store/modules/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c207809

Please sign in to comment.