@@ -84,7 +84,7 @@ |
||
| 84 | 84 | { |
| 85 | 85 | $workspace = isset($record['t3ver_wsid']) ? (int)$record['t3ver_wsid'] : 0; |
| 86 | 86 | $origId = isset($record['t3ver_oid']) ? (int)$record['t3ver_oid'] : 0; |
| 87 | - $neededItems = array_map(function ($item) use ($workspace, $origId, $record) { |
|
| 87 | + $neededItems = array_map(function($item) use ($workspace, $origId, $record) { |
|
| 88 | 88 | $item['t3ver_wsid'] = $workspace; |
| 89 | 89 | // Set relation to the original record |
| 90 | 90 | if ($workspace) { |
@@ -115,20 +115,20 @@ |
||
| 115 | 115 | ], '&'); |
| 116 | 116 | |
| 117 | 117 | $storeArguments = [ |
| 118 | - $indexerConfig['storagepid'], // storage PID |
|
| 119 | - $title, // record title |
|
| 120 | - self::KEY, // content type |
|
| 121 | - $indexerConfig['targetpid'], // target PID: where is the single view? |
|
| 122 | - $fullContent, // indexed content, includes the title (linebreak after title) |
|
| 123 | - $originalObject->getKeSearchTags($index), // tags for faceted search |
|
| 124 | - $params, // typolink params for singleview |
|
| 125 | - $abstract, // abstract; shown in result list if not empty |
|
| 126 | - $row[$languageField], // language uid |
|
| 127 | - $row['starttime'], // starttime |
|
| 128 | - $row['endtime'], // endtime |
|
| 129 | - $row['fe_group'], // fe_group |
|
| 130 | - false, // debug only? |
|
| 131 | - $additionalFields, // additionalFields |
|
| 118 | + $indexerConfig['storagepid'], // storage PID |
|
| 119 | + $title, // record title |
|
| 120 | + self::KEY, // content type |
|
| 121 | + $indexerConfig['targetpid'], // target PID: where is the single view? |
|
| 122 | + $fullContent, // indexed content, includes the title (linebreak after title) |
|
| 123 | + $originalObject->getKeSearchTags($index), // tags for faceted search |
|
| 124 | + $params, // typolink params for singleview |
|
| 125 | + $abstract, // abstract; shown in result list if not empty |
|
| 126 | + $row[$languageField], // language uid |
|
| 127 | + $row['starttime'], // starttime |
|
| 128 | + $row['endtime'], // endtime |
|
| 129 | + $row['fe_group'], // fe_group |
|
| 130 | + false, // debug only? |
|
| 131 | + $additionalFields, // additionalFields |
|
| 132 | 132 | ]; |
| 133 | 133 | |
| 134 | 134 | $indexerObject->storeInIndex(...$storeArguments); |