Ignore relationships that are not available

This commit is contained in:
Jake Barnby 2025-08-27 16:48:08 +12:00
parent f4c56ad757
commit 4daad1b775
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -135,7 +135,10 @@ class V20 extends Filter
$relationshipKeys = [];
foreach ($attributes as $attr) {
if (($attr['type'] ?? null) !== Database::VAR_RELATIONSHIP) {
if (
($attr['type'] ?? null) !== Database::VAR_RELATIONSHIP ||
$attr['status'] !== 'available'
) {
continue;
}