fix note/card ids being flipped in card stats

This commit is contained in:
Damien Elmes 2020-07-28 09:49:11 +10:00
parent 88fee1b7aa
commit 2bed018768

View File

@ -189,8 +189,8 @@ impl Collection {
stats.push((i18n.tr(TR::CardStatsCardTemplate).into(), cs.card_type));
stats.push((i18n.tr(TR::CardStatsNoteType).into(), cs.note_type));
stats.push((i18n.tr(TR::CardStatsDeckName).into(), cs.deck));
stats.push((i18n.tr(TR::CardStatsNoteId).into(), cs.cid.0.to_string()));
stats.push((i18n.tr(TR::CardStatsCardId).into(), cs.nid.0.to_string()));
stats.push((i18n.tr(TR::CardStatsCardId).into(), cs.cid.0.to_string()));
stats.push((i18n.tr(TR::CardStatsNoteId).into(), cs.nid.0.to_string()));
let revlog = cs
.revlog