[develop | DONE | FIXED] home.component.ts: Updated method called in refine query to get funders of projects (getNumbers) from "getRefineFieldsResultsByEntityName()" to "getAllRefineFieldResultsByFieldName()" to be able to get more than 100 funders each time.
This commit is contained in:
parent
37046a25fc
commit
aa8dd09ae2
|
@ -179,7 +179,7 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit, IDeactiv
|
|||
}
|
||||
|
||||
getNumbers() {
|
||||
this.subscriptions.push(this._refineFieldResultsService.getRefineFieldsResultsByEntityName(["funder"], "project", this.properties).subscribe(
|
||||
this.subscriptions.push(this._refineFieldResultsService.getAllRefineFieldResultsByFieldName("funder", "project", this.properties).subscribe(
|
||||
data => {
|
||||
if (data[1].length > 0 && data[1][0].filterId == "funder" && data[1][0].values) {
|
||||
this.fundersSize = NumberUtils.roundNumber(data[1][0].values.length);
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 6bb1e61b059bef1bff3bfb0611b0df46f7840426
|
||||
Subproject commit b68f375714b679743e586bb2fb4721e633e43fc1
|
|
@ -1 +1 @@
|
|||
Subproject commit 5e8c1addb1ebfa508aac8cb9540a755940c95b79
|
||||
Subproject commit 7aa9e577193e3a77415434fd5e6e856a21d5efeb
|
Loading…
Reference in New Issue