mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-27 22:56:24 +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(
|
cond = builder.Or(
|
||||||
builder.In("conversation.id", builder.Select("conversation_id").
|
builder.In("conversation.id", builder.Select("conversation_id").
|
||||||
From("comment").
|
From("conversation_comment").
|
||||||
Where(builder.And(
|
Where(builder.And(
|
||||||
builder.Eq{"type": conversation_model.CommentTypeComment},
|
builder.Eq{"type": conversation_model.CommentTypeComment},
|
||||||
builder.In("conversation_id", subQuery),
|
builder.In("conversation_id", subQuery),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user