Now include the release year in the issue title #2381

pull/2450/head
TidusJar 6 years ago
parent a613e2cec6
commit 77a1bf5c78

@ -150,7 +150,7 @@ export class MovieSearchComponent implements OnInit {
public reportIssue(catId: IIssueCategory, req: ISearchMovieResult) { public reportIssue(catId: IIssueCategory, req: ISearchMovieResult) {
this.issueRequestId = req.id; this.issueRequestId = req.id;
this.issueRequestTitle = req.title; this.issueRequestTitle = req.title + `(${req.releaseDate.getFullYear})`;
this.issueCategorySelected = catId; this.issueCategorySelected = catId;
this.issuesBarVisible = true; this.issuesBarVisible = true;
this.issueProviderId = req.id.toString(); this.issueProviderId = req.id.toString();

@ -195,7 +195,7 @@ export class TvSearchComponent implements OnInit {
public reportIssue(catId: IIssueCategory, req: ISearchTvResult) { public reportIssue(catId: IIssueCategory, req: ISearchTvResult) {
this.issueRequestId = req.id; this.issueRequestId = req.id;
this.issueRequestTitle = req.title; this.issueRequestTitle = req.title + `(${req.firstAired})`;
this.issueCategorySelected = catId; this.issueCategorySelected = catId;
this.issuesBarVisible = true; this.issuesBarVisible = true;
this.issueProviderId = req.id.toString(); this.issueProviderId = req.id.toString();

Loading…
Cancel
Save