mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-27 20:18:40 +08:00
Update db.go
This commit is contained in:
parent
703f13b18f
commit
93e125e7ab
@ -61,7 +61,7 @@ func (i *Indexer) Search(ctx context.Context, options *internal.SearchOptions) (
|
||||
|
||||
cond = builder.Or(
|
||||
builder.In("conversation.id", builder.Select("conversation_id").
|
||||
From("comment").
|
||||
From("conversation_comment").
|
||||
Where(builder.And(
|
||||
builder.Eq{"type": conversation_model.CommentTypeComment},
|
||||
builder.In("conversation_id", subQuery),
|
||||
|
Loading…
x
Reference in New Issue
Block a user