Skip to content

Commit 4aac9c4

Browse files
author
ljl
committed
spi-search:fix add .
1 parent 70a5f50 commit 4aac9c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spi/spi-search/src/serv/pg/search_pg_item_serv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub async fn add(add_req: &mut SearchItemAddReq, _funs: &TardisFunsInst, ctx: &T
5555
(kind, key, title, title_tsv,content, content_tsv, owner, own_paths, create_time, update_time, ext, visit_keys)
5656
VALUES
5757
($1, $2, $3, to_tsvector('public.chinese_zh', $4), $5, to_tsvector('public.chinese_zh', $6), $7, $8, $9, $10, $11, {})"#,
58-
if add_req.visit_keys.is_some() { "$11" } else { "null" },
58+
if add_req.visit_keys.is_some() { "$12" } else { "null" },
5959
),
6060
params,
6161
)

0 commit comments

Comments
 (0)