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'() {
|
||||
this.updateSelectedValues();
|
||||
},
|
||||
'query.taxquery'() {
|
||||
this.updateSelectedValues();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.updateSelectedValues();
|
||||
|
|
|
@ -64,6 +64,10 @@
|
|||
if (!this.isUsingElasticSearch)
|
||||
this.loadOptions();
|
||||
},
|
||||
'query.taxquery'() {
|
||||
if (!this.isUsingElasticSearch)
|
||||
this.loadOptions();
|
||||
},
|
||||
facetsFromItemSearch() {
|
||||
if (this.isUsingElasticSearch)
|
||||
this.loadOptions();
|
||||
|
|
|
@ -74,6 +74,9 @@
|
|||
},
|
||||
'query.metaquery'() {
|
||||
this.updateSelectedValues();
|
||||
},
|
||||
'query.taxquery'() {
|
||||
this.updateSelectedValues();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
|
@ -133,6 +133,9 @@
|
|||
watch: {
|
||||
'query.metaquery'() {
|
||||
this.updateSelectedValues();
|
||||
},
|
||||
'query.taxquery'() {
|
||||
this.updateSelectedValues();
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
|
@ -34,6 +34,9 @@
|
|||
watch: {
|
||||
'query.metaquery'() {
|
||||
this.updateSelectedValues();
|
||||
},
|
||||
'query.taxquery'() {
|
||||
this.updateSelectedValues();
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -35,6 +35,9 @@
|
|||
watch: {
|
||||
'query.metaquery'() {
|
||||
this.updateSelectedValues();
|
||||
},
|
||||
'query.taxquery'() {
|
||||
this.updateSelectedValues();
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -104,6 +104,9 @@
|
|||
watch: {
|
||||
'query.metaquery'() {
|
||||
this.updateSelectedValues();
|
||||
},
|
||||
'query.taxquery'() {
|
||||
this.updateSelectedValues();
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -41,6 +41,10 @@
|
|||
if (!this.isUsingElasticSearch)
|
||||
this.loadOptions();
|
||||
},
|
||||
'query.taxquery'() {
|
||||
if (!this.isUsingElasticSearch)
|
||||
this.loadOptions();
|
||||
},
|
||||
facetsFromItemSearch() {
|
||||
if (this.isUsingElasticSearch)
|
||||
this.loadOptions();
|
||||
|
|
|
@ -61,6 +61,9 @@
|
|||
watch: {
|
||||
'query.metaquery'() {
|
||||
this.updateSelectedValues();
|
||||
},
|
||||
'query.taxquery'() {
|
||||
this.updateSelectedValues();
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
|
|
@ -76,6 +76,9 @@
|
|||
if (this.isUsingElasticSearch)
|
||||
this.loadOptions();
|
||||
},
|
||||
'query.metaquery'() {
|
||||
this.loadOptions();
|
||||
},
|
||||
'query.taxquery'() {
|
||||
this.loadOptions();
|
||||
}
|
||||
|
|
|
@ -56,6 +56,9 @@
|
|||
watch: {
|
||||
'query.taxquery'() {
|
||||
this.updateSelectedValues();
|
||||
},
|
||||
'query.metaquery'() {
|
||||
this.loadOptions();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
Loading…
Reference in New Issue