(search) Remove unnecessary filtering operation
This commit is contained in:
parent
a860f8f1a8
commit
9aa5038756
@ -38,8 +38,6 @@ public class SearchCommand implements SearchCommandInterface {
|
||||
|
||||
DecoratedSearchResults results = searchOperator.doSearch(ctx, params);
|
||||
|
||||
results.results.removeIf(this::isBlacklisted);
|
||||
|
||||
return Optional.of(searchResultsRenderer.render(results));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user