diff --git a/modules/indexer/conversations/db/db.go b/modules/indexer/conversations/db/db.go index b34bdef9265..bfa16bba808 100644 --- a/modules/indexer/conversations/db/db.go +++ b/modules/indexer/conversations/db/db.go @@ -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),