diff --git a/module/VuFind/src/VuFind/Controller/CombinedController.php b/module/VuFind/src/VuFind/Controller/CombinedController.php index bade60b46246934339a0478d6b9868b49add543b..40a47f336a205459f876baf30af56f263dd8c7a2 100644 --- a/module/VuFind/src/VuFind/Controller/CombinedController.php +++ b/module/VuFind/src/VuFind/Controller/CombinedController.php @@ -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));