We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -104,6 +104,6 @@ |
||
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | private function getUid($uid) { |
| 107 | - return intval($uid) > 0 ? intval($uid) : $uid; |
|
| 107 | + return intval($uid) > 0 ? intval($uid) : $uid; |
|
| 108 | 108 | } |
| 109 | 109 | } |
@@ -235,7 +235,7 @@ |
||
| 235 | 235 | $fields = Solr::getFields(); |
| 236 | 236 | $params = []; |
| 237 | 237 | // Restrict the fields to the required ones |
| 238 | - $params['fields'] = $fields['uid'] . ',' . $fields['id'] .',' . $fields['toplevel'] . ',' . $fields['thumbnail'] . ',' . $fields['page']; |
|
| 238 | + $params['fields'] = $fields['uid'] . ',' . $fields['id'] . ',' . $fields['toplevel'] . ',' . $fields['thumbnail'] . ',' . $fields['page']; |
|
| 239 | 239 | foreach ($this->solrConfig as $solr_name) { |
| 240 | 240 | $params['fields'] .= ',' . $solr_name; |
| 241 | 241 | } |
@@ -113,7 +113,7 @@ |
||
| 113 | 113 | '###LABEL_HIGHLIGHT_WORD###' => $this->conf['highlightWordInputName'], |
| 114 | 114 | '###LABEL_ENCRYPTED###' => $this->conf['encryptedInputName'], |
| 115 | 115 | '###CURRENT_DOCUMENT###' => $this->getCurrentDocumentId(), |
| 116 | - '###SOLR_ENCRYPTED###' => $this->getEncryptedCoreName() ?: '', |
|
| 116 | + '###SOLR_ENCRYPTED###' => $this->getEncryptedCoreName() ? : '', |
|
| 117 | 117 | ]; |
| 118 | 118 | |
| 119 | 119 | $content .= $this->templateService->substituteMarkerArray($this->template, $markerArray); |
@@ -461,12 +461,12 @@ |
||
| 461 | 461 | && \TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->piVars['id']) |
| 462 | 462 | ) { |
| 463 | 463 | $params['filterquery'][]['query'] = '_query_:"{!join from=' |
| 464 | - . $fields['uid'] .' to=' . $fields['partof'] .'}' |
|
| 465 | - . $fields['uid'] .':{!join from=' . $fields['uid'] .' to=' . $fields['partof'] .'}' |
|
| 466 | - . $fields['uid'] .':' . $this->piVars['id'] . '"' . ' OR {!join from=' |
|
| 467 | - . $fields['uid'] .' to=' . $fields['partof'] .'}' |
|
| 468 | - . $fields['uid'] .':' . $this->piVars['id'] . ' OR ' |
|
| 469 | - . $fields['uid'] .':' . $this->piVars['id']; |
|
| 464 | + . $fields['uid'] . ' to=' . $fields['partof'] . '}' |
|
| 465 | + . $fields['uid'] . ':{!join from=' . $fields['uid'] . ' to=' . $fields['partof'] . '}' |
|
| 466 | + . $fields['uid'] . ':' . $this->piVars['id'] . '"' . ' OR {!join from=' |
|
| 467 | + . $fields['uid'] . ' to=' . $fields['partof'] . '}' |
|
| 468 | + . $fields['uid'] . ':' . $this->piVars['id'] . ' OR ' |
|
| 469 | + . $fields['uid'] . ':' . $this->piVars['id']; |
|
| 470 | 470 | $label .= htmlspecialchars(sprintf($this->pi_getLL('in', ''), Document::getTitle($this->piVars['id']))); |
| 471 | 471 | } |
| 472 | 472 | } |