Finishes merging from endpoint facets branch
This commit is contained in:
parent
ef29a41f77
commit
2938afc6c0
|
@ -449,11 +449,11 @@
|
|||
collection_id: this.collection_id,
|
||||
terms: this.selected
|
||||
});
|
||||
|
||||
|
||||
for (let selected of this.selected) {
|
||||
|
||||
for(let i in this.finderColumns){
|
||||
let valueIndex = this.finderColumns[i].findIndex(option => option.value == selected);
|
||||
|
||||
if (valueIndex >= 0) {
|
||||
selectedOptions.push(this.finderColumns[i][valueIndex]);
|
||||
}
|
||||
|
|
|
@ -108,7 +108,6 @@
|
|||
this.options.push(item);
|
||||
}
|
||||
|
||||
|
||||
if ( this.options ){
|
||||
let hasChildren = false;
|
||||
|
||||
|
@ -183,8 +182,8 @@
|
|||
onlyLabels.push(res.data[0].label);
|
||||
this.options.push({
|
||||
isChild: true,
|
||||
name: res.data[0].label,
|
||||
id: res.data[0].value
|
||||
label: res.data[0].label,
|
||||
value: res.data[0].value
|
||||
})
|
||||
})
|
||||
.catch(error => {
|
||||
|
|
|
@ -28,8 +28,7 @@ export default {
|
|||
});
|
||||
|
||||
this.$on('sendValuesToTags', data => {
|
||||
// console.log(data)
|
||||
this.$store.dispatch('search/addFilterTag', data);
|
||||
this.$store.dispatch('search/addFilterTag', data);
|
||||
});
|
||||
|
||||
this.$root.$on('closeAdvancedSearch', () => {
|
||||
|
|
Loading…
Reference in New Issue