public function search(array $args)
{
if ($this->config->get('searchable') !== true) {
return '';
}
list($data, $key) = $this->filter($args);
$viewFactory = $this->handler->getViewFactory();
return $viewFactory->make($this->getViewPath('search'), ['config' => $this->config, 'data' => array_merge($data, $this->mergeData), 'key' => $key])->render();
}