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

Fixed problem with inappropriate search boxes in author module.

parent 83631e17
No related merge requests found
......@@ -7,8 +7,8 @@
// Set up page title:
$this->headTitle($this->translate('Author Search Results'));
// Set up empty search box:
$this->layout()->searchbox = $this->render('search/searchbox.phtml');
// Set up empty search box (we want Author search boxes to point at the Solr search screen):
$this->layout()->searchbox = $this->context($this)->renderInContext('search/searchbox.phtml', array('searchClassId' => 'Solr'));
// Set up breadcrumbs:
$this->layout()->breadcrumbs = '<em>' . $this->results->getParams()->getDisplayQuery() . '</em>';
......
......@@ -15,8 +15,8 @@
// Set up page title:
$this->headTitle($this->translate('Author Browse'));
// Set up empty search box:
$this->layout()->searchbox = $this->render('search/searchbox.phtml');
// Set up empty search box pointing at Solr module:
$this->layout()->searchbox = $this->context($this)->renderInContext('search/searchbox.phtml', array('searchClassId' => 'Solr'));
// Set up breadcrumbs:
$this->layout()->breadcrumbs = '<em>' . $this->translate('Author Results for') . ' ' . $this->results->getParams()->getDisplayQuery() . '</em>';
......
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