diff --git a/module/VuFind/src/VuFind/Controller/AlphabrowseController.php b/module/VuFind/src/VuFind/Controller/AlphabrowseController.php index 702e7bba5c93c850b7600eb4147cb0e017cd9243..54b7eab7d339c1df75f34e54dfbf464827c65bef 100644 --- a/module/VuFind/src/VuFind/Controller/AlphabrowseController.php +++ b/module/VuFind/src/VuFind/Controller/AlphabrowseController.php @@ -101,13 +101,15 @@ class AlphabrowseController extends AbstractBase // If required parameters are present, load results: if ($source && $from !== false) { // Load Solr data or die trying: - $result = $db->alphabeticBrowse($source, $from, $page, $limit, $extraParams); + $result = $db + ->alphabeticBrowse($source, $from, $page, $limit, $extraParams); // No results? Try the previous page just in case we've gone past // the end of the list.... if ($result['Browse']['totalCount'] == 0) { $page--; - $result = $db->alphabeticBrowse($source, $from, $page, $limit, $extraParams); + $result = $db + ->alphabeticBrowse($source, $from, $page, $limit, $extraParams); } // Only display next/previous page links when applicable: