Revision 53008
Added by Konstantina Galouni over 5 years ago
displayClaims.component.ts | ||
---|---|---|
56 | 56 |
.subscribe((term: string) => { |
57 | 57 |
console.log("change!") |
58 | 58 |
this.keyword = this.inputkeyword; |
59 |
//console.log("keyword: "+this.keyword + " VS inputkeyword: "+this.inputkeyword); |
|
59 | 60 |
this.page = 1; |
60 | 61 |
this.goTo(); |
61 | 62 |
}); |
... | ... | |
65 | 66 |
} |
66 | 67 |
ngOnDestroy() { |
67 | 68 |
this.sub.unsubscribe(); |
69 |
//this.searchTermStreamSub.unsubscribe(); |
|
68 | 70 |
} |
69 | 71 |
sub: any; |
70 | 72 |
//string because comes as input from component directive |
... | ... | |
358 | 360 |
changekeyword(){ |
359 | 361 |
console.log("changekeyword") |
360 | 362 |
if(this.inputkeyword.length >= 3 || this.inputkeyword.length == 0 ){ |
361 |
this.searchTermStream.next(this.keyword); |
|
363 |
this.searchTermStream.next(this.inputkeyword);
|
|
362 | 364 |
|
363 | 365 |
|
364 | 366 |
} |
Also available in: Unified diff
1. displayClaims.component: bug fix in keyword search.
2. dataset.component, orp.component: spelling corrections (#3845).