diff --git a/rslib/src/search/writer.rs b/rslib/src/search/writer.rs index e112ebcf5..6507f3be9 100644 --- a/rslib/src/search/writer.rs +++ b/rslib/src/search/writer.rs @@ -149,7 +149,7 @@ fn write_single_field(field: &str, text: &str, is_re: bool) -> String { fn write_template(template: &TemplateKind) -> String { match template { - TemplateKind::Ordinal(u) => format!("\"card:{}\"", u), + TemplateKind::Ordinal(u) => format!("\"card:{}\"", u + 1), TemplateKind::Name(s) => format!("\"card:{}\"", s), } }