Skip to content

Commit

Permalink
change rotten tomatoes default sort/filter
Browse files Browse the repository at this point in the history
  • Loading branch information
lardbit committed Jun 25, 2022
1 parent 892e87d commit fe8dae4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export class RottenTomatoesComponent implements OnInit {

// build form
this.form = this.fb.group({
type: this.route.snapshot.queryParams['type'] || this.types['In Theaters'],
sortBy: this.route.snapshot.queryParams['sortBy'] || this.sortBy['Popularity'],
type: this.route.snapshot.queryParams['type'] || this.types['DVD All (Certified Fresh)'],
sortBy: this.route.snapshot.queryParams['sortBy'] || this.sortBy['Release'],
page: parseInt(this.route.snapshot.queryParams['page'], 10) || 1,
minTomato: this.route.snapshot.queryParams['minTomato'] || 70,
});
Expand Down

0 comments on commit fe8dae4

Please sign in to comment.