aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/database.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-09-17 19:57:39 -0700
committerAlex Yatskov <alex@foosoft.net>2017-09-17 19:57:39 -0700
commite90274519a57d43e77e864ed3259d1b6c73654be (patch)
tree6881cba90ad3123b36142d5a1da6fa3900d2ae0f /ext/bg/js/database.js
parentd9d16613f8aa129de5dc1edb38d66f69d2983091 (diff)
combine indices and stats
Diffstat (limited to 'ext/bg/js/database.js')
-rw-r--r--ext/bg/js/database.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/bg/js/database.js b/ext/bg/js/database.js
index 0acf974f..f94c572e 100644
--- a/ext/bg/js/database.js
+++ b/ext/bg/js/database.js
@@ -110,7 +110,6 @@ class Database {
kunyomi: dictFieldSplit(row.kunyomi),
tags: dictFieldSplit(row.tags),
glossary: row.meanings,
- indices: row.indices,
stats: row.stats,
dictionary: row.dictionary
});
@@ -252,14 +251,13 @@ class Database {
});
}
} else {
- for (const [character, onyomi, kunyomi, tags, meanings, indices, stats] of entries) {
+ for (const [character, onyomi, kunyomi, tags, meanings, stats] of entries) {
rows.push({
character,
onyomi,
kunyomi,
tags,
meanings,
- indices,
stats,
dictionary: summary.title
});