Skip to content

Commit 1b45cd0

Browse files
Update modules/indexer/issues/db/db.go
Use backticks instead of double quotes Co-authored-by: wxiaoguang <[email protected]>
1 parent 2cd9c02 commit 1b45cd0

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

Diff for: modules/indexer/issues/db/db.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (i *Indexer) Search(ctx context.Context, options *internal.SearchOptions) (
5959

6060
if options.Index.Has() {
6161
cond = builder.And(
62-
builder.Eq{"\"index\"": options.Keyword},
62+
builder.Eq{"`index`": options.Keyword},
6363
repoCond,
6464
)
6565
} else {

0 commit comments

Comments
 (0)