case-insensitive field sort in find dupes
This commit is contained in:
parent
5bce218312
commit
35360df68d
@ -1774,7 +1774,8 @@ update cards set usn=?, mod=?, did=? where id in """ + scids,
|
|||||||
frm = aqt.forms.finddupes.Ui_Dialog()
|
frm = aqt.forms.finddupes.Ui_Dialog()
|
||||||
frm.setupUi(d)
|
frm.setupUi(d)
|
||||||
restoreGeom(d, "findDupes")
|
restoreGeom(d, "findDupes")
|
||||||
fields = sorted(anki.find.fieldNames(self.col, downcase=False))
|
fields = sorted(anki.find.fieldNames(self.col, downcase=False),
|
||||||
|
key=lambda x: x.lower())
|
||||||
frm.fields.addItems(fields)
|
frm.fields.addItems(fields)
|
||||||
self._dupesButton = None
|
self._dupesButton = None
|
||||||
# links
|
# links
|
||||||
|
Loading…
Reference in New Issue
Block a user