mirror of
https://github.com/go-gitea/gitea
synced 2025-01-31 03:54:28 +00:00
update join
This commit is contained in:
parent
401d2572f9
commit
d55e25ff4d
@ -177,7 +177,7 @@ func (opts *SearchBadgeOptions) ToOrders() string {
|
||||
func (opts *SearchBadgeOptions) ToJoins() []db.JoinFunc {
|
||||
return []db.JoinFunc{
|
||||
func(e db.Engine) error {
|
||||
e.Join("INNER", "badge", "badge.badge_id = badge.id")
|
||||
e.Join("INNER", "badge", "`user_badge`.badge_id=badge.id")
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user