diff --git a/themes/blueprint/templates/author/results.phtml b/themes/blueprint/templates/author/results.phtml index f3f1b4ce64b5ddd15fd84def74a9deafab279f39..10f0bfe757c92f2db851b704fc5b9f773c6f10d3 100644 --- a/themes/blueprint/templates/author/results.phtml +++ b/themes/blueprint/templates/author/results.phtml @@ -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>'; diff --git a/themes/blueprint/templates/author/search.phtml b/themes/blueprint/templates/author/search.phtml index 53883d4c7d5c6d83c79b6598950cf380aa3f57c1..f9499982f7e098733946f51dbc77ef3777186467 100644 --- a/themes/blueprint/templates/author/search.phtml +++ b/themes/blueprint/templates/author/search.phtml @@ -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>';