diff --git a/module/VuFind/src/VuFind/Controller/MyResearchController.php b/module/VuFind/src/VuFind/Controller/MyResearchController.php index 3eae2a3fe1ad6e1020af1f026a13d6a7d360e10f..19d2e2952f4284a1cf98c44e63cfe6c18df752e8 100644 --- a/module/VuFind/src/VuFind/Controller/MyResearchController.php +++ b/module/VuFind/src/VuFind/Controller/MyResearchController.php @@ -322,7 +322,11 @@ class MyResearchController extends AbstractBase : $this->redirect()->toRoute('home'); } $this->clearFollowupUrl(); - $this->setFollowupUrlToReferer(); + // Set followup only if we're not in lightbox since it has the short-circuit + // for reloading current page: + if (!$this->inLightbox()) { + $this->setFollowupUrlToReferer(); + } if ($si = $this->getSessionInitiator()) { return $this->redirect()->toUrl($si); }