File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/firestore/src/core Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -533,18 +533,18 @@ export class RelationFilter extends Filter {
533
533
}
534
534
}
535
535
536
- private matchesValue ( value : FieldValue ) : boolean {
536
+ private matchesValue ( other : FieldValue ) : boolean {
537
537
if ( this . op === RelationOp . ARRAY_CONTAINS ) {
538
538
return (
539
- value instanceof ArrayValue &&
540
- value . internalValue . find ( element => element . isEqual ( this . value ) ) !==
539
+ other instanceof ArrayValue &&
540
+ other . internalValue . find ( element => element . isEqual ( this . value ) ) !==
541
541
undefined
542
542
) ;
543
543
} else {
544
544
// Only compare types with matching backend order (such as double and int).
545
545
return (
546
- this . value . typeOrder === value . typeOrder &&
547
- this . matchesComparison ( value . compareTo ( this . value ) )
546
+ this . value . typeOrder === other . typeOrder &&
547
+ this . matchesComparison ( other . compareTo ( this . value ) )
548
548
) ;
549
549
}
550
550
}
You can’t perform that action at this time.
0 commit comments