diff --git a/platform/features/search/bundle.json b/platform/features/search/bundle.json index 0ba248ebc0..01b49a4f07 100644 --- a/platform/features/search/bundle.json +++ b/platform/features/search/bundle.json @@ -53,8 +53,7 @@ { "provides": "searchService", "type": "aggregator", - "implementation": "SearchAggregator.js", - "depends": [ "$q" ] + "implementation": "SearchAggregator.js" } ] } diff --git a/platform/features/search/src/SearchAggregator.js b/platform/features/search/src/SearchAggregator.js index d509eeee16..d0b2e8e9bf 100644 --- a/platform/features/search/src/SearchAggregator.js +++ b/platform/features/search/src/SearchAggregator.js @@ -37,7 +37,7 @@ define( * @param {SearchProvider[]} providers the search providers to be * aggregated */ - function SearchAggregator($q, providers) { + function SearchAggregator(providers) { function getPromisedResults(resultsPromises, promiseIndex, finalResults) { if (promiseIndex >= resultsPromises.length) {