We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 401d257 commit d55e25fCopy full SHA for d55e25f
models/user/badge.go
@@ -177,7 +177,7 @@ func (opts *SearchBadgeOptions) ToOrders() string {
177
func (opts *SearchBadgeOptions) ToJoins() []db.JoinFunc {
178
return []db.JoinFunc{
179
func(e db.Engine) error {
180
- e.Join("INNER", "badge", "badge.badge_id = badge.id")
+ e.Join("INNER", "badge", "`user_badge`.badge_id=badge.id")
181
return nil
182
},
183
}
0 commit comments