Revision 44338
Added by Konstantina Galouni over 7 years ago
compatibleDataProviders.component.ts | ||
---|---|---|
57 | 57 |
} |
58 | 58 |
} |
59 | 59 |
} |
60 |
this.getResults(this.keyword, this.page, this.size, "searchPage"); |
|
60 |
// this.getResults(this.keyword, this.page, this.size, "searchPage");
|
|
61 | 61 |
}); |
62 | 62 |
} |
63 | 63 |
|
64 | 64 |
private ngOnDestroy() { |
65 | 65 |
this.sub.unsubscribe(); |
66 | 66 |
} |
67 |
|
|
67 |
/* |
|
68 | 68 |
public getResults(parameters:string, page: number, size: number, flag: string){ |
69 | 69 |
console.info("getResults: Execute search query "+parameters); |
70 | 70 |
//q=(not datasourcecompatibilityid exact 'UNKNOWN' )and (not datasourcecompatibilityid exact 'hostedBy' ) and (not datasourcecompatibilityid exact 'notCompatible' ) |
... | ... | |
90 | 90 |
} |
91 | 91 |
); |
92 | 92 |
} |
93 |
|
|
93 |
*/ |
|
94 | 94 |
private setFilters(){ |
95 | 95 |
//TODO set filters from |
96 | 96 |
} |
... | ... | |
98 | 98 |
private queryChanged($event) { |
99 | 99 |
var parameters = $event.value; |
100 | 100 |
console.info("queryChanged: Execute search query "+parameters); |
101 |
this.getResults(parameters, this.page, this.size, "searchPage"); |
|
101 |
//this.getResults(parameters, this.page, this.size, "searchPage");
|
|
102 | 102 |
} |
103 | 103 |
private createFilters():Filter[] { |
104 | 104 |
var filter_names=["Type","Compatibility Level"]; |
Also available in: Unified diff
updating searchPages with refine results | tabs filled with extra query use special methods (getResultsForEntity(...) in components, search*ForEntity(...) in services)