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

Improved tag routing.

- All searches now go to Search/Results; all tag views go to Tag/Home; search handler name is consistent between both places.
parent dc7f86b0
No related merge requests found
......@@ -46,7 +46,8 @@ class Options extends \VuFind\Search\Base\Options
public function __construct(\VuFind\Config\PluginManager $configLoader)
{
parent::__construct($configLoader);
$this->basicHandlers = ['tags' => 'Tag'];
$this->basicHandlers = ['tag' => 'Tag'];
$this->defaultHandler = 'tag';
$this->defaultSort = 'title';
$this->sortOptions = [
'title' => 'sort_title', 'author' => 'sort_author',
......@@ -61,7 +62,7 @@ class Options extends \VuFind\Search\Base\Options
*/
public function getSearchAction()
{
return 'tag-home';
return 'search-results';
}
/**
......
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