Revision 44846
Added by Argiro Kokogiannaki over 7 years ago
searchOrganizations.service.ts | ||
---|---|---|
46 | 46 |
.do(res => { |
47 | 47 |
this._cache.set(key, res); |
48 | 48 |
}); |
49 |
//.map(res => [res['meta'].total, this.parseResults(res['results']),RefineResultsUtils.parse(res['refineResults'],refineFields)]); |
|
49 |
//.map(res => [res['meta'].total, this.parseResults(res['results']),RefineResultsUtils.parse(res['refineResults'],refineFields, "organization")]);
|
|
50 | 50 |
} |
51 | 51 |
|
52 | 52 |
quote(params: string):string { |
... | ... | |
98 | 98 |
return this.http.get(url) |
99 | 99 |
.map(res => <any> res.json()) |
100 | 100 |
//.do(res => console.info(res)) |
101 |
.map(res => [res['meta'].total, this.parseResults(res['results']),RefineResultsUtils.parse(res['refineResults'],refineFields)]) |
|
101 |
.map(res => [res['meta'].total, this.parseResults(res['results']),RefineResultsUtils.parse(res['refineResults'],refineFields, "organization")])
|
|
102 | 102 |
.do(res => { |
103 | 103 |
this._cache.set(key, res); |
104 | 104 |
}); |
Also available in: Unified diff
Change SearchFields class format- apply changes to all search pages