1
0
Fork 0
mirror of https://github.com/Alamantus/Lexiconga.git synced 2025-07-07 16:14:17 +02:00

Fix sorting words, which I guess I broke

This commit is contained in:
Robbie Antenesse 2018-01-07 11:38:49 -07:00
parent 6646bf19d7
commit 5a1384464f

View file

@ -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) {