mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Ignore relationships that are not available
This commit is contained in:
parent
f4c56ad757
commit
4daad1b775
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue