We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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); |
@@ -107,6 +107,6 @@ |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | private function getUid($uid) { |
| 110 | - return is_numeric($uid) > 0 ? intval($uid) : $uid; |
|
| 110 | + return is_numeric($uid) > 0 ? intval($uid) : $uid; |
|
| 111 | 111 | } |
| 112 | 112 | } |
@@ -462,12 +462,12 @@ |
||
| 462 | 462 | ) { |
| 463 | 463 | // Search in document and all subordinates (valid for up to three levels of hierarchy). |
| 464 | 464 | $params['filterquery'][]['query'] = '_query_:"{!join from=' |
| 465 | - . $fields['uid'] .' to=' . $fields['partof'] .'}' |
|
| 466 | - . $fields['uid'] .':{!join from=' . $fields['uid'] .' to=' . $fields['partof'] .'}' |
|
| 467 | - . $fields['uid'] .':' . $this->piVars['id'] . '"' . ' OR {!join from=' |
|
| 468 | - . $fields['uid'] .' to=' . $fields['partof'] .'}' |
|
| 469 | - . $fields['uid'] .':' . $this->piVars['id'] . ' OR ' |
|
| 470 | - . $fields['uid'] .':' . $this->piVars['id']; |
|
| 465 | + . $fields['uid'] . ' to=' . $fields['partof'] . '}' |
|
| 466 | + . $fields['uid'] . ':{!join from=' . $fields['uid'] . ' to=' . $fields['partof'] . '}' |
|
| 467 | + . $fields['uid'] . ':' . $this->piVars['id'] . '"' . ' OR {!join from=' |
|
| 468 | + . $fields['uid'] . ' to=' . $fields['partof'] . '}' |
|
| 469 | + . $fields['uid'] . ':' . $this->piVars['id'] . ' OR ' |
|
| 470 | + . $fields['uid'] . ':' . $this->piVars['id']; |
|
| 471 | 471 | $label .= htmlspecialchars(sprintf($this->pi_getLL('in', ''), Document::getTitle($this->piVars['id']))); |
| 472 | 472 | } |
| 473 | 473 | } |