Skip to content

Commit d0a586d

Browse files
committed
fix cross link option
1 parent d8c4de9 commit d0a586d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

files/lib/system/wsdb/cache/eager/DatabaseRelationCache.class.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ protected function getCacheData(): DatabaseRelationCacheData
2222

2323
$references = [];
2424
foreach ($optionList as $option) {
25+
$configuration = $option->getConfiguration();
26+
$crossLink = $configuration['relationCrossLink'] ?? 0;
27+
if (!$crossLink) {
28+
continue;
29+
}
30+
2531
$sql = "
2632
SELECT recordID,
2733
option" . $option->optionID . " value

0 commit comments

Comments
 (0)