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

Removed non-functional logic.

parent 8be802a2
No related merge requests found
...@@ -87,9 +87,7 @@ class EdsController extends AbstractSearch ...@@ -87,9 +87,7 @@ class EdsController extends AbstractSearch
public function homeAction() public function homeAction()
{ {
$this->setUp(); $this->setUp();
return $this->createViewModel( return $this->createViewModel();
['results' => $this->getHomePageFacets()]
);
} }
/** /**
...@@ -106,7 +104,7 @@ class EdsController extends AbstractSearch ...@@ -106,7 +104,7 @@ class EdsController extends AbstractSearch
* Return a Search Results object containing advanced facet information. This * Return a Search Results object containing advanced facet information. This
* data may come from the cache. * data may come from the cache.
* *
* @return \VuFind\Search\EDS\Results * @return array
*/ */
protected function getAdvancedFacets() protected function getAdvancedFacets()
{ {
...@@ -129,18 +127,6 @@ class EdsController extends AbstractSearch ...@@ -129,18 +127,6 @@ class EdsController extends AbstractSearch
return $availableLimiters; return $availableLimiters;
} }
/**
* Return a Search Results object containing homepage facet information. This
* data may come from the cache.
*
* @return \VuFind\Search\EDS\Results
*/
protected function getHomePageFacets()
{
// For now, we'll use the same fields as the advanced search screen.
return $this->getAdvancedFacets();
}
/** /**
* Process the facets to be used as limits on the Advanced Search screen. * Process the facets to be used as limits on the Advanced Search screen.
* *
......
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