Skip to content
Snippets Groups Projects
Commit ba5721c5 authored by André Noack's avatar André Noack
Browse files

backport changes in SearchWidget from #394 to get #1115 fixed

parent cec0fa91
No related branches found
No related tags found
No related merge requests found
...@@ -34,24 +34,6 @@ class SearchWidget extends SidebarWidget ...@@ -34,24 +34,6 @@ class SearchWidget extends SidebarWidget
$this->template = 'sidebar/search-widget'; $this->template = 'sidebar/search-widget';
} }
/**
* Sets the id for the form element.
*/
public function setId($id)
{
$this->id = $id;
}
/**
* Returns the id for the form element.
*
* @return mixed String containing the id or null if no id has been set.
*/
public function getId()
{
return $this->id;
}
/** /**
* Sets the request method used for the form. * Sets the request method used for the form.
*/ */
...@@ -143,7 +125,6 @@ class SearchWidget extends SidebarWidget ...@@ -143,7 +125,6 @@ class SearchWidget extends SidebarWidget
$this->template_variables['url_params'] = $query_params; $this->template_variables['url_params'] = $query_params;
$this->template_variables['method'] = $this->method; $this->template_variables['method'] = $this->method;
$this->template_variables['id'] = $this->id;
foreach ($this->needles as $index => $needle) { foreach ($this->needles as $index => $needle) {
if ($needle['quick_search']) { if ($needle['quick_search']) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment