From d8aae94331e33627b41dc5168c8153f625575d23 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 30 Sep 2020 13:41:34 +0200 Subject: [PATCH] Controller: Don't pass search columns to the SearchBar They're now obsolete. --- library/Icingadb/Web/Controller.php | 1 - 1 file changed, 1 deletion(-) diff --git a/library/Icingadb/Web/Controller.php b/library/Icingadb/Web/Controller.php index a5a50fe3..6558b903 100644 --- a/library/Icingadb/Web/Controller.php +++ b/library/Icingadb/Web/Controller.php @@ -135,7 +135,6 @@ class Controller extends CompatController $searchBar = new SearchBar(); $searchBar->setAction($requestUrl->setParams([])->getAbsoluteUrl()); - $searchBar->setSearchColumns($query->getModel()->getSearchColumns()); $searchBar->setSubmitLabel(t('Search')); $searchBar->setIdProtector([$this->getRequest(), 'protectId']); $searchBar->setFilter($this->getFilter());