Skip to content
Snippets Groups Projects
Commit d06c8c3d authored by Demian Katz's avatar Demian Katz
Browse files

Fixed problem with wrong search boxes displaying on record pages.

parent f75560b4
No related merge requests found
...@@ -58,7 +58,7 @@ class AbstractRecord extends AbstractBase ...@@ -58,7 +58,7 @@ class AbstractRecord extends AbstractBase
protected function createViewModel($params = null) protected function createViewModel($params = null)
{ {
$view = parent::createViewModel($params); $view = parent::createViewModel($params);
$view->searchClassId = $this->searchClassId; $this->layout()->searchClassId = $view->searchClassId = $this->searchClassId;
if (!is_null($this->driver)) { if (!is_null($this->driver)) {
$view->driver = $this->driver; $view->driver = $this->driver;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment