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:
parent
6646bf19d7
commit
5a1384464f
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ class DictionaryData {
|
||||||
if (this.sortByDefinition) {
|
if (this.sortByDefinition) {
|
||||||
return wordDb.words.toCollection().sortBy('definition');
|
return wordDb.words.toCollection().sortBy('definition');
|
||||||
}
|
}
|
||||||
return wordDb.words.toArray();
|
return wordDb.words.orderBy('name').toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
wordsWithPartOfSpeech (partOfSpeech) {
|
wordsWithPartOfSpeech (partOfSpeech) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue