mirror of https://github.com/keeweb/keeweb.git
fix #1289: crash on Auto sorting mode
This commit is contained in:
parent
f1a632fb52
commit
3c6c929854
|
@ -17,10 +17,10 @@ class EntryCollection extends Collection {
|
|||
'-created': Comparators.dateComparator('created', false),
|
||||
'updated': Comparators.dateComparator('updated', true),
|
||||
'-updated': Comparators.dateComparator('updated', false),
|
||||
'-attachments'(x, y) {
|
||||
'-attachments': (x, y) => {
|
||||
return this.attachmentSortVal(x).localeCompare(this.attachmentSortVal(y));
|
||||
},
|
||||
'-rank': Comparators.rankComparator()
|
||||
'-rank': Comparators.rankComparator().bind(this)
|
||||
};
|
||||
|
||||
defaultComparator = 'title';
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
Release notes
|
||||
-------------
|
||||
##### v1.11.7 (2019-10-08)
|
||||
`-` fix #1289: crash on Auto sorting mode
|
||||
|
||||
##### v1.11.6 (2019-10-04)
|
||||
`-` fix #1285: issues in moving entries across files
|
||||
|
||||
|
|
Loading…
Reference in New Issue