From ea9d2e2d6420571cea35b316f223e7201af593c8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 27 Nov 2018 16:34:48 +1000 Subject: [PATCH] find&replace should not be case sensitive on field --- anki/find.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/find.py b/anki/find.py index 6119c96c7..cf658bbde 100644 --- a/anki/find.py +++ b/anki/find.py @@ -484,7 +484,7 @@ def findReplace(col, nids, src, dst, regex=False, field=None, fold=True): if field: for m in col.models.all(): for f in m['flds']: - if f['name'] == field: + if f['name'].lower() == field.lower(): mmap[str(m['id'])] = f['ord'] if not mmap: return 0