We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -678,7 +678,7 @@ discard block |
||
| 678 | 678 | || (isset($this->piVars['asc']) && $this->piVars['asc'] != $listMetadata['options']['order.asc'])) { |
| 679 | 679 | |
| 680 | 680 | // Update list's metadata. |
| 681 | - $listMetadata['options']['params']['sort'] = array ($this->piVars['order']."_sorting" => (boolean) $this->piVars['asc']?'asc':'desc'); |
|
| 681 | + $listMetadata['options']['params']['sort'] = array ($this->piVars['order']."_sorting" => (boolean) $this->piVars['asc'] ? 'asc' : 'desc'); |
|
| 682 | 682 | |
| 683 | 683 | $listMetadata['options']['order'] = $this->piVars['order']; |
| 684 | 684 | $listMetadata['options']['order.asc'] = (boolean) $this->piVars['asc']; |
@@ -711,7 +711,7 @@ discard block |
||
| 711 | 711 | } |
| 712 | 712 | |
| 713 | 713 | // Set search parameters. |
| 714 | - $solr->cPid = $listMetadata['options']['pid']; |
|
| 714 | + $solr->cPid = $listMetadata['options']['pid']; |
|
| 715 | 715 | $solr->params = $listMetadata['options']['params']; |
| 716 | 716 | |
| 717 | 717 | // Perform search. |
@@ -790,7 +790,7 @@ discard block |
||
| 790 | 790 | |
| 791 | 791 | if ($currentEntry) { |
| 792 | 792 | |
| 793 | - $currentEntry = ($this->piVars['pointer'] * $this->conf['limit']) + 1; |
|
| 793 | + $currentEntry = ($this->piVars['pointer'] * $this->conf['limit']) + 1; |
|
| 794 | 794 | $lastEntry = ($this->piVars['pointer'] * $this->conf['limit']) + $this->conf['limit']; |
| 795 | 795 | |
| 796 | 796 | $markerArray['###COUNT###'] = htmlspecialchars(sprintf($this->pi_getLL('count'), $currentEntry, $lastEntry < $this->list->metadata['options']['numberOfToplevelHits'] ? $lastEntry : $this->list->metadata['options']['numberOfToplevelHits'], $this->list->metadata['options']['numberOfToplevelHits'])); |