aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/search/search.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/search/search.component.ts')
-rw-r--r--client/src/app/search/search.component.ts13
1 files changed, 12 insertions, 1 deletions
diff --git a/client/src/app/search/search.component.ts b/client/src/app/search/search.component.ts
index 7ab0ed9d6..0439fdf51 100644
--- a/client/src/app/search/search.component.ts
+++ b/client/src/app/search/search.component.ts
@@ -8,11 +8,11 @@ import { SearchService } from '@app/search/search.service'
8import { immutableAssign } from '@app/shared/misc/utils' 8import { immutableAssign } from '@app/shared/misc/utils'
9import { ComponentPagination } from '@app/shared/rest/component-pagination.model' 9import { ComponentPagination } from '@app/shared/rest/component-pagination.model'
10import { VideoChannel } from '@app/shared/video-channel/video-channel.model' 10import { VideoChannel } from '@app/shared/video-channel/video-channel.model'
11import { MiniatureDisplayOptions } from '@app/shared/video/video-miniature.component'
11import { Video } from '@app/shared/video/video.model' 12import { Video } from '@app/shared/video/video.model'
12import { MetaService } from '@ngx-meta/core' 13import { MetaService } from '@ngx-meta/core'
13import { I18n } from '@ngx-translate/i18n-polyfill' 14import { I18n } from '@ngx-translate/i18n-polyfill'
14import { ServerConfig } from '@shared/models' 15import { ServerConfig } from '@shared/models'
15import { UserService } from '@app/shared'
16import { SearchTargetType } from '@shared/models/search/search-target-query.model' 16import { SearchTargetType } from '@shared/models/search/search-target-query.model'
17 17
18@Component({ 18@Component({
@@ -32,6 +32,17 @@ export class SearchComponent implements OnInit, OnDestroy {
32 isSearchFilterCollapsed = true 32 isSearchFilterCollapsed = true
33 currentSearch: string 33 currentSearch: string
34 34
35 videoDisplayOptions: MiniatureDisplayOptions = {
36 date: true,
37 views: true,
38 by: true,
39 avatar: false,
40 privacyLabel: false,
41 privacyText: false,
42 state: false,
43 blacklistInfo: false
44 }
45
35 errorMessage: string 46 errorMessage: string
36 serverConfig: ServerConfig 47 serverConfig: ServerConfig
37 48