Fix sorting words, which I guess I broke
This commit is contained in:
parent
6646bf19d7
commit
5a1384464f
|
@ -328,7 +328,7 @@ class DictionaryData {
|
|||
if (this.sortByDefinition) {
|
||||
return wordDb.words.toCollection().sortBy('definition');
|
||||
}
|
||||
return wordDb.words.toArray();
|
||||
return wordDb.words.orderBy('name').toArray();
|
||||
}
|
||||
|
||||
wordsWithPartOfSpeech (partOfSpeech) {
|
||||
|
|
Loading…
Reference in New Issue