[Fix] Fixed setting of facet limit
This commit is contained in:
parent
42cec8cddc
commit
6d5f56f354
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "strolch-wc-reports",
|
||||
"description": "Strolch WebComponent Reports",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.3",
|
||||
"authors": [
|
||||
"Robert von Burg"
|
||||
],
|
||||
|
|
|
@ -250,7 +250,7 @@
|
|||
if (newValue != null && oldValue != null) {
|
||||
this.$.ajaxGetFields.params = {
|
||||
query: newValue,
|
||||
limit: Susi.Constants.limit
|
||||
limit: this.facetLimit
|
||||
};
|
||||
this.$.ajaxGetFields.generateRequest();
|
||||
this.fire('ajax-running', {running: true});
|
||||
|
|
|
@ -304,6 +304,7 @@
|
|||
facet-id="[[facet.type]]"
|
||||
fields="[[facet.values]]"
|
||||
filter="[[allFilters]]"
|
||||
facet-limit="[[facetLimit]]"
|
||||
on-ajax-running="onAjaxRunning"></strolch-wc-reports-facet>
|
||||
</template>
|
||||
</div>
|
||||
|
@ -533,6 +534,9 @@
|
|||
// set the new report id
|
||||
this.filtersReady = false;
|
||||
this.set("reportId", this.reports[this.selectedReportIndex].id);
|
||||
this.$.ajaxGetFacets.params = {
|
||||
limit: this.facetLimit
|
||||
};
|
||||
this.$.ajaxGetFacets.generateRequest();
|
||||
this.showLoadingOverlay();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue