|
|
@ -183,12 +183,7 @@ export class MovieRequestsComponent implements OnInit {
|
|
|
|
public filterAvailability(filter: FilterType, el: any) {
|
|
|
|
public filterAvailability(filter: FilterType, el: any) {
|
|
|
|
this.filterActiveStyle(el);
|
|
|
|
this.filterActiveStyle(el);
|
|
|
|
this.filter.availabilityFilter = filter;
|
|
|
|
this.filter.availabilityFilter = filter;
|
|
|
|
this.requestService.filterMovies(this.filter)
|
|
|
|
this.loadInit();
|
|
|
|
.subscribe(x => {
|
|
|
|
|
|
|
|
this.totalMovies = x.total;
|
|
|
|
|
|
|
|
this.setOverrides(x.collection);
|
|
|
|
|
|
|
|
this.movieRequests = x.collection;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public filterStatus(filter: FilterType, el: any) {
|
|
|
|
public filterStatus(filter: FilterType, el: any) {
|
|
|
|