Forces setting isLoadingOptions to false when using elastic search.
This commit is contained in:
parent
dee546186a
commit
a1f52ea9bf
|
@ -184,6 +184,9 @@
|
||||||
this.prepareOptionsForTaxonomy(this.facetsFromItemSearch[facet]);
|
this.prepareOptionsForTaxonomy(this.facetsFromItemSearch[facet]);
|
||||||
else
|
else
|
||||||
this.prepareOptionsForTaxonomy(Object.values(this.facetsFromItemSearch[facet]));
|
this.prepareOptionsForTaxonomy(Object.values(this.facetsFromItemSearch[facet]));
|
||||||
|
|
||||||
|
if (this.isUsingElasticSearch)
|
||||||
|
this.isLoadingOptions = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -133,6 +133,9 @@ export const dynamicFilterTypeMixin = {
|
||||||
for (const facet in this.facetsFromItemSearch) {
|
for (const facet in this.facetsFromItemSearch) {
|
||||||
if (facet == this.filter.id) {
|
if (facet == this.filter.id) {
|
||||||
this.prepareOptionsForPlainText(this.facetsFromItemSearch[facet], search, valuesToIgnore, isInCheckboxModal);
|
this.prepareOptionsForPlainText(this.facetsFromItemSearch[facet], search, valuesToIgnore, isInCheckboxModal);
|
||||||
|
|
||||||
|
if (this.isUsingElasticSearch)
|
||||||
|
this.isLoadingOptions = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
resolve();
|
resolve();
|
||||||
|
@ -210,6 +213,9 @@ export const dynamicFilterTypeMixin = {
|
||||||
for (const facet in this.facetsFromItemSearch) {
|
for (const facet in this.facetsFromItemSearch) {
|
||||||
if (facet == this.filter.id) {
|
if (facet == this.filter.id) {
|
||||||
this.prepareOptionsForRelationship(this.facetsFromItemSearch[facet], search, valuesToIgnore, isInCheckboxModal);
|
this.prepareOptionsForRelationship(this.facetsFromItemSearch[facet], search, valuesToIgnore, isInCheckboxModal);
|
||||||
|
|
||||||
|
if (this.isUsingElasticSearch)
|
||||||
|
this.isLoadingOptions = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
resolve();
|
resolve();
|
||||||
|
|
Loading…
Reference in New Issue