mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
FIX: Minor
This commit is contained in:
parent
c1e5abe65a
commit
ee24867435
@ -176,7 +176,10 @@ class PageControllerEx extends Extension
|
|||||||
$obj = $this->owner;
|
$obj = $this->owner;
|
||||||
$this->search_term = is_array($data) ? $data['q'] : $data;
|
$this->search_term = is_array($data) ? $data['q'] : $data;
|
||||||
|
|
||||||
return $obj->renderWith(['PageController_search', 'Page']);
|
return $obj->customise([
|
||||||
|
'Layout' => $obj->renderWith(['Layout/PageController_search']),
|
||||||
|
'isLegacy' => true,
|
||||||
|
])->renderWith('Page');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function SearchResults()
|
public function SearchResults()
|
||||||
|
Loading…
Reference in New Issue
Block a user