Skip to content
Snippets Groups Projects
Commit 6bc79267 authored by Demian Katz's avatar Demian Katz
Browse files

Style fix.

parent 3f016d0e
No related merge requests found
......@@ -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:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment