diff options
Diffstat (limited to 'client/src/app/+search')
-rw-r--r-- | client/src/app/+search/search-filters.component.ts | 1 | ||||
-rw-r--r-- | client/src/app/+search/search.component.ts | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/client/src/app/+search/search-filters.component.ts b/client/src/app/+search/search-filters.component.ts index f5f0c87ed..afa523b91 100644 --- a/client/src/app/+search/search-filters.component.ts +++ b/client/src/app/+search/search-filters.component.ts | |||
@@ -99,7 +99,6 @@ export class SearchFiltersComponent implements OnInit { | |||
99 | ngOnInit () { | 99 | ngOnInit () { |
100 | this.serverConfig = this.serverService.getHTMLConfig() | 100 | this.serverConfig = this.serverService.getHTMLConfig() |
101 | 101 | ||
102 | |||
103 | this.serverService.getVideoCategories().subscribe(categories => this.videoCategories = categories) | 102 | this.serverService.getVideoCategories().subscribe(categories => this.videoCategories = categories) |
104 | this.serverService.getVideoLicences().subscribe(licences => this.videoLicences = licences) | 103 | this.serverService.getVideoLicences().subscribe(licences => this.videoLicences = licences) |
105 | this.serverService.getVideoLanguages().subscribe(languages => this.videoLanguages = languages) | 104 | this.serverService.getVideoLanguages().subscribe(languages => this.videoLanguages = languages) |
diff --git a/client/src/app/+search/search.component.ts b/client/src/app/+search/search.component.ts index a31096bb2..a4ab7a5b1 100644 --- a/client/src/app/+search/search.component.ts +++ b/client/src/app/+search/search.component.ts | |||
@@ -287,7 +287,7 @@ export class SearchComponent implements OnInit, OnDestroy { | |||
287 | ) | 287 | ) |
288 | } | 288 | } |
289 | 289 | ||
290 | private getDefaultSearchTarget(): SearchTargetType { | 290 | private getDefaultSearchTarget (): SearchTargetType { |
291 | const searchIndexConfig = this.serverConfig.search.searchIndex | 291 | const searchIndexConfig = this.serverConfig.search.searchIndex |
292 | 292 | ||
293 | if (searchIndexConfig.enabled && (searchIndexConfig.isDefaultSearch || searchIndexConfig.disableLocalSearch)) { | 293 | if (searchIndexConfig.enabled && (searchIndexConfig.isDefaultSearch || searchIndexConfig.disableLocalSearch)) { |