Commit d9f09cfd authored by prumde's avatar prumde

Updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174397 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b731d492
......@@ -37,9 +37,18 @@ export class EcmProductReviewComponent implements OnInit {
ngOnInit() {
this.itemCode = this.itemDetail.itemCode;
this.itemAvgRating = this.itemDetail.itemAvgRating;
this.fetchReviews();
}
loadReviews(itemDetail){
this.itemDetail = itemDetail;
this.itemCode = this.itemDetail.itemCode;
this.itemAvgRating = this.itemDetail.itemAvgRating;
this.fetchReviews();
}
fetchReviews() {
var solrUrl = this.solrUrl + this.itemCode + '/json/' + this.start + '/' + this.tabSort + '/' + this.sortBy;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment