Skip to content

Commit 2a16129

Browse files
author
Roberto Santalla
authored
Merge pull request #249 from ligustah/patch-1
Fix relationship record retrieval
2 parents e1a0ba6 + 103de1a commit 2a16129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

batcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func (r *batchQueryRunner) getRecordRelationships(ids []interface{}, rel Relatio
175175

176176
filter := In(fk, ids...)
177177
if rel.Filter != nil {
178-
And(rel.Filter, filter)
178+
rel.Filter = And(rel.Filter, filter)
179179
} else {
180180
rel.Filter = filter
181181
}

0 commit comments

Comments
 (0)