fix problem with 'or' in findDupes

This commit is contained in:
Damien Elmes 2012-07-05 01:12:26 +09:00
parent 52ae784a65
commit 5212f62198

View file

@ -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 = []