fix dupe search with included formatting

https://anki.tenderapp.com/discussions/ankidesktop/41286-2125-doesnt-show-duplicates
This commit is contained in:
Damien Elmes 2020-05-08 15:26:45 +10:00
parent 4a26e2ba77
commit 3f534b8c86

View file

@ -362,7 +362,7 @@ impl SqlWriter<'_> {
let csum = field_checksum(text_nohtml.as_ref());
write!(
self.sql,
"(n.mid = {} and n.csum = {} and field_at_index(n.flds, 0) = ?)",
"(n.mid = {} and n.csum = {} and n.sfld = ?)",
ntid, csum
)
.unwrap();