From 668554371ea1a6d5e9fc089823885ed17dbb30e1 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Wed, 15 Aug 2018 14:01:10 -0400 Subject: [PATCH] Fix bug: jump to single result breaks combined search. --- module/VuFind/src/VuFind/Controller/CombinedController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/VuFind/src/VuFind/Controller/CombinedController.php b/module/VuFind/src/VuFind/Controller/CombinedController.php index 59522831a4a..6c8351d5fc9 100644 --- a/module/VuFind/src/VuFind/Controller/CombinedController.php +++ b/module/VuFind/src/VuFind/Controller/CombinedController.php @@ -292,6 +292,10 @@ class CombinedController extends AbstractSearch // Reset override to avoid bleed-over from one section to the next! $query->recommendOverride = false; + // Always disable 'jumpto' setting, as it does not make sense to + // load a record view in the context of combined search. + $query->jumpto = false; + // Always leave noresults active (useful for 0-hit searches) and // side inactive (no room to display) but display or hide top based // on include_recommendations setting. -- GitLab