From 56388455df2f7024f6be8e28c1729b58b428c181 Mon Sep 17 00:00:00 2001 From: Robert Lange <robert.lange@uni-leipzig.de> Date: Fri, 22 Jul 2022 13:50:43 +0200 Subject: [PATCH] refs #21613 [finc] records controller home action: avoid call of parent vufind home action * to recognize single collection record without checkRoute param --- module/finc/src/finc/Controller/RecordsController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/finc/src/finc/Controller/RecordsController.php b/module/finc/src/finc/Controller/RecordsController.php index 09982d55096..17fcb556f8e 100644 --- a/module/finc/src/finc/Controller/RecordsController.php +++ b/module/finc/src/finc/Controller/RecordsController.php @@ -38,6 +38,7 @@ use VuFind\Controller\RecordsController as BaseController; * @package Controller * @author Demian Katz <demian.katz@villanova.edu> * @author Dorian Merz <merz@ub.uni-leipzig.de> + * @author Robert Lange <lange@ub.uni-leipzig.de> * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Site */ @@ -59,7 +60,8 @@ class RecordsController extends BaseController $this->suppressJump = true; return $this->resultsAction(); } - return parent::homeAction(); + + return $this->resultsAction(); } /** -- GitLab