From 440d39c52d4efb878b6a2e21584d6b8f52072f27 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 8 Jan 2020 14:40:08 +0100 Subject: Skip videos count on client if we don't use it --- client/src/app/search/search.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/search') diff --git a/client/src/app/search/search.service.ts b/client/src/app/search/search.service.ts index bb5532757..7610fee8c 100644 --- a/client/src/app/search/search.service.ts +++ b/client/src/app/search/search.service.ts @@ -2,7 +2,7 @@ import { catchError, map, switchMap } from 'rxjs/operators' import { HttpClient, HttpParams } from '@angular/common/http' import { Injectable } from '@angular/core' import { Observable } from 'rxjs' -import { ComponentPagination } from '@app/shared/rest/component-pagination.model' +import { ComponentPaginationLight } from '@app/shared/rest/component-pagination.model' import { VideoService } from '@app/shared/video/video.service' import { RestExtractor, RestService } from '@app/shared' import { environment } from '../../environments/environment' @@ -25,7 +25,7 @@ export class SearchService { searchVideos (parameters: { search: string, - componentPagination: ComponentPagination, + componentPagination: ComponentPaginationLight, advancedSearch: AdvancedSearch }): Observable> { const { search, componentPagination, advancedSearch } = parameters @@ -51,7 +51,7 @@ export class SearchService { searchVideoChannels (parameters: { search: string, - componentPagination: ComponentPagination + componentPagination: ComponentPaginationLight }): Observable> { const { search, componentPagination } = parameters -- cgit v1.2.3