diff options
Diffstat (limited to 'client/src/app/search')
-rw-r--r-- | client/src/app/search/search.component.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/app/search/search.component.ts b/client/src/app/search/search.component.ts index 691e57619..5c4bb9379 100644 --- a/client/src/app/search/search.component.ts +++ b/client/src/app/search/search.component.ts | |||
@@ -53,8 +53,6 @@ export class SearchComponent implements OnInit, OnDestroy { | |||
53 | } | 53 | } |
54 | 54 | ||
55 | ngOnInit () { | 55 | ngOnInit () { |
56 | this.pluginService.loadPluginsByScope('search') | ||
57 | |||
58 | this.subActivatedRoute = this.route.queryParams.subscribe( | 56 | this.subActivatedRoute = this.route.queryParams.subscribe( |
59 | queryParams => { | 57 | queryParams => { |
60 | const querySearch = queryParams['search'] | 58 | const querySearch = queryParams['search'] |
@@ -80,7 +78,7 @@ export class SearchComponent implements OnInit, OnDestroy { | |||
80 | err => this.notifier.error(err.text) | 78 | err => this.notifier.error(err.text) |
81 | ) | 79 | ) |
82 | 80 | ||
83 | this.hooks.runAction('action:search.init') | 81 | this.hooks.runAction('action:search.init', 'search') |
84 | } | 82 | } |
85 | 83 | ||
86 | ngOnDestroy () { | 84 | ngOnDestroy () { |