Remove the former search form, filters and SlimSelect (F2)
- materio_sapi: MaterioSapiSearchForm, AjaxSearchForm and the /materio_sapi/search_form route removed, with the fieldset legend hook they needed. The search block is only the place where the Vue field mounts (placement and access unchanged). - materiotheme: filters removed from the search store and Base.vue (the parameter of former URLs is ignored), formhtml removed from main.js and SearchBlock.vue, filter styles and SlimSelect import removed. - slim-select uninstalled, with its postinstall patch step. - Production build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
This commit is contained in:
@@ -17,7 +17,6 @@ export default {
|
||||
state: {
|
||||
keys: [],
|
||||
terms: [],
|
||||
filters: [],
|
||||
uuids: [],
|
||||
items: [],
|
||||
offset: 0,
|
||||
@@ -92,13 +91,6 @@ export default {
|
||||
reSetTerms (state) {
|
||||
state.terms = []
|
||||
},
|
||||
setFilters (state, filters) {
|
||||
console.log('store search setFilters', filters)
|
||||
state.filters = typeof filters === 'string' ? filters.split(',') : filters
|
||||
},
|
||||
reSetFilters (state) {
|
||||
state.filters = []
|
||||
},
|
||||
setInfos (state, infos) {
|
||||
state.infos = infos
|
||||
},
|
||||
@@ -169,10 +161,6 @@ export default {
|
||||
limit: state.limit
|
||||
}
|
||||
console.log('search store getResults, params', params)
|
||||
if (state.filters) {
|
||||
console.log('getResults filters', state.filters)
|
||||
params.filters = state.filters.join(',')
|
||||
}
|
||||
// console.log('Search getResults params', params)
|
||||
const q = qs.stringify(params)
|
||||
// * Qs.Stringify () Arrayformat: 'Repeat' : https://programmerall.com/article/31901061156/
|
||||
|
||||
Reference in New Issue
Block a user