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

Fix for ampersand bug.

Resolves VUFIND-880.
parent ebc819ed
No related merge requests found
......@@ -162,8 +162,8 @@ class CombinedController extends AbstractSearch
$route = $this->getServiceLocator()
->get('VuFind\SearchOptionsPluginManager')
->get($searchClassId)->getSearchAction();
$options = array('query' => $params);
return $this->redirect()->toRoute($route, array(), $options);
$base = $this->url()->fromRoute($route);
return $this->redirect()->toUrl($base . '?' . http_build_query($params));
case 'External':
$lookfor = $this->params()->fromQuery('lookfor');
return $this->redirect()->toUrl($target . urlencode($lookfor));
......
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