Skip to content

Commit 703f13b

Browse files
committed
Update db.go
1 parent 2311318 commit 703f13b

File tree

1 file changed

+1
-1
lines changed
  • modules/indexer/conversations/db

1 file changed

+1
-1
lines changed

modules/indexer/conversations/db/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (i *Indexer) Search(ctx context.Context, options *internal.SearchOptions) (
6060
subQuery := builder.Select("id").From("conversation").Where(repoCond)
6161

6262
cond = builder.Or(
63-
builder.In("conversation.id", builder.Select("id").
63+
builder.In("conversation.id", builder.Select("conversation_id").
6464
From("comment").
6565
Where(builder.And(
6666
builder.Eq{"type": conversation_model.CommentTypeComment},

0 commit comments

Comments
 (0)