mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fix problem with 'or' in findDupes
This commit is contained in:
parent
52ae784a65
commit
5212f62198
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ def fieldNames(col, downcase=True):
|
|||
|
||||
def findDupes(col, fieldName, search=""):
|
||||
# limit search to notes with applicable field name
|
||||
search += " '%s:*'" % fieldName
|
||||
search = "(%s) '%s:*'" % (search, fieldName)
|
||||
# go through notes
|
||||
vals = {}
|
||||
dupes = []
|
||||
|
|
Loading…
Reference in a new issue