Taxonomy filters watch metaquery and non-taxonomy filters watch taxquery for proper facets update.
This commit is contained in:
parent
94ee5df74b
commit
2cc87e1683
|
@ -56,6 +56,9 @@
|
||||||
'query.metaquery'() {
|
'query.metaquery'() {
|
||||||
this.updateSelectedValues();
|
this.updateSelectedValues();
|
||||||
},
|
},
|
||||||
|
'query.taxquery'() {
|
||||||
|
this.updateSelectedValues();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.updateSelectedValues();
|
this.updateSelectedValues();
|
||||||
|
|
|
@ -64,6 +64,10 @@
|
||||||
if (!this.isUsingElasticSearch)
|
if (!this.isUsingElasticSearch)
|
||||||
this.loadOptions();
|
this.loadOptions();
|
||||||
},
|
},
|
||||||
|
'query.taxquery'() {
|
||||||
|
if (!this.isUsingElasticSearch)
|
||||||
|
this.loadOptions();
|
||||||
|
},
|
||||||
facetsFromItemSearch() {
|
facetsFromItemSearch() {
|
||||||
if (this.isUsingElasticSearch)
|
if (this.isUsingElasticSearch)
|
||||||
this.loadOptions();
|
this.loadOptions();
|
||||||
|
|
|
@ -74,6 +74,9 @@
|
||||||
},
|
},
|
||||||
'query.metaquery'() {
|
'query.metaquery'() {
|
||||||
this.updateSelectedValues();
|
this.updateSelectedValues();
|
||||||
|
},
|
||||||
|
'query.taxquery'() {
|
||||||
|
this.updateSelectedValues();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
|
@ -133,6 +133,9 @@
|
||||||
watch: {
|
watch: {
|
||||||
'query.metaquery'() {
|
'query.metaquery'() {
|
||||||
this.updateSelectedValues();
|
this.updateSelectedValues();
|
||||||
|
},
|
||||||
|
'query.taxquery'() {
|
||||||
|
this.updateSelectedValues();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -34,6 +34,9 @@
|
||||||
watch: {
|
watch: {
|
||||||
'query.metaquery'() {
|
'query.metaquery'() {
|
||||||
this.updateSelectedValues();
|
this.updateSelectedValues();
|
||||||
|
},
|
||||||
|
'query.taxquery'() {
|
||||||
|
this.updateSelectedValues();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -35,6 +35,9 @@
|
||||||
watch: {
|
watch: {
|
||||||
'query.metaquery'() {
|
'query.metaquery'() {
|
||||||
this.updateSelectedValues();
|
this.updateSelectedValues();
|
||||||
|
},
|
||||||
|
'query.taxquery'() {
|
||||||
|
this.updateSelectedValues();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -104,6 +104,9 @@
|
||||||
watch: {
|
watch: {
|
||||||
'query.metaquery'() {
|
'query.metaquery'() {
|
||||||
this.updateSelectedValues();
|
this.updateSelectedValues();
|
||||||
|
},
|
||||||
|
'query.taxquery'() {
|
||||||
|
this.updateSelectedValues();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -41,6 +41,10 @@
|
||||||
if (!this.isUsingElasticSearch)
|
if (!this.isUsingElasticSearch)
|
||||||
this.loadOptions();
|
this.loadOptions();
|
||||||
},
|
},
|
||||||
|
'query.taxquery'() {
|
||||||
|
if (!this.isUsingElasticSearch)
|
||||||
|
this.loadOptions();
|
||||||
|
},
|
||||||
facetsFromItemSearch() {
|
facetsFromItemSearch() {
|
||||||
if (this.isUsingElasticSearch)
|
if (this.isUsingElasticSearch)
|
||||||
this.loadOptions();
|
this.loadOptions();
|
||||||
|
|
|
@ -61,6 +61,9 @@
|
||||||
watch: {
|
watch: {
|
||||||
'query.metaquery'() {
|
'query.metaquery'() {
|
||||||
this.updateSelectedValues();
|
this.updateSelectedValues();
|
||||||
|
},
|
||||||
|
'query.taxquery'() {
|
||||||
|
this.updateSelectedValues();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
|
@ -76,6 +76,9 @@
|
||||||
if (this.isUsingElasticSearch)
|
if (this.isUsingElasticSearch)
|
||||||
this.loadOptions();
|
this.loadOptions();
|
||||||
},
|
},
|
||||||
|
'query.metaquery'() {
|
||||||
|
this.loadOptions();
|
||||||
|
},
|
||||||
'query.taxquery'() {
|
'query.taxquery'() {
|
||||||
this.loadOptions();
|
this.loadOptions();
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,9 @@
|
||||||
watch: {
|
watch: {
|
||||||
'query.taxquery'() {
|
'query.taxquery'() {
|
||||||
this.updateSelectedValues();
|
this.updateSelectedValues();
|
||||||
|
},
|
||||||
|
'query.metaquery'() {
|
||||||
|
this.loadOptions();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
Loading…
Reference in New Issue