[Fix] Respect facet limit on facet search

This commit is contained in:
Robert von Burg 2024-05-02 11:52:04 +02:00
parent d381ab334e
commit 41248739fb
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "strolch-wc-reports",
"description": "Strolch WebComponent Reports",
"version": "0.5.5",
"version": "0.5.6",
"authors": [
"Robert von Burg"
],

View File

@ -235,6 +235,9 @@
value: [],
notify: true
},
facetLimit: {
type: Number
},
facetLoading: {
type: Boolean,
value: false,
@ -252,7 +255,7 @@
if (newValue != null && oldValue != null) {
this.$.ajaxGetFields.params = {
query: newValue,
limit: 10
limit: this.facetLimit
};
this.$.ajaxGetFields.generateRequest();
}