Preload fixes

This commit is contained in:
Hein
2025-11-11 15:54:43 +02:00
parent c52fcff61d
commit 94f013c872
2 changed files with 50 additions and 4 deletions

View File

@@ -204,7 +204,7 @@ func (g *GormSelectQuery) PreloadRelation(relation string, apply ...func(common.
}
wrapper := &GormSelectQuery{
db: g.db,
db: db,
}
current := common.SelectQuery(wrapper)