1906 FIX search form autocomplete multi terms
This commit is contained in:
@ -104,15 +104,15 @@ export default {
|
||||
// actions
|
||||
actions: {
|
||||
newSearch ({ dispatch, commit, state }) {
|
||||
console.log('Search newSearch')
|
||||
console.log('Search newSearch, state.keys', state.keys)
|
||||
commit('resetUuids')
|
||||
commit('resetItems')
|
||||
commit('resetCount')
|
||||
commit('resetNoresults')
|
||||
commit('resetOffset')
|
||||
commit('resetInfos')
|
||||
if (state.keys || state.terms) {
|
||||
this.commit('Common/setPagetitle', state.keys)
|
||||
if (state.keys || state.terms.length) {
|
||||
this.commit('Common/setPagetitle', state.keys.join(', '))
|
||||
} else {
|
||||
this.commit('Common/setPagetitle', 'Base')
|
||||
}
|
||||
|
Reference in New Issue
Block a user