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]);
|
||||
else
|
||||
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) {
|
||||
if (facet == this.filter.id) {
|
||||
this.prepareOptionsForPlainText(this.facetsFromItemSearch[facet], search, valuesToIgnore, isInCheckboxModal);
|
||||
|
||||
if (this.isUsingElasticSearch)
|
||||
this.isLoadingOptions = false;
|
||||
}
|
||||
}
|
||||
resolve();
|
||||
|
@ -210,6 +213,9 @@ export const dynamicFilterTypeMixin = {
|
|||
for (const facet in this.facetsFromItemSearch) {
|
||||
if (facet == this.filter.id) {
|
||||
this.prepareOptionsForRelationship(this.facetsFromItemSearch[facet], search, valuesToIgnore, isInCheckboxModal);
|
||||
|
||||
if (this.isUsingElasticSearch)
|
||||
this.isLoadingOptions = false;
|
||||
}
|
||||
}
|
||||
resolve();
|
||||
|
|
Loading…
Reference in New Issue