diff --git a/module/VuFind/src/VuFind/Controller/AlphabrowseController.php b/module/VuFind/src/VuFind/Controller/AlphabrowseController.php index 0c89dc9db1dce76d5587b49ec5c0ab36dc53da81..6c889fad13990803e85dcc0ab591b51fd29a90ef 100644 --- a/module/VuFind/src/VuFind/Controller/AlphabrowseController.php +++ b/module/VuFind/src/VuFind/Controller/AlphabrowseController.php @@ -102,6 +102,11 @@ class AlphabrowseController extends AbstractBase $from = $this->params()->fromQuery('from', false); $page = intval($this->params()->fromQuery('page', 0)); + // Special case: highlighting is pointless if there's no user input: + if (empty($from)) { + $highlighting = false; + } + // Set up any extra parameters to pass $extraParams = new ParamBag(); if (isset($extras[$source])) {