Change meaning of "is:learn" to filter on type, not queue

This commit is contained in:
Henrik Giesel 2021-01-05 17:36:55 +01:00
parent 83136d2491
commit 59cb901a3b

View File

@ -279,9 +279,9 @@ impl SqlWriter<'_> {
),
StateKind::Learning => write!(
self.sql,
"c.queue in ({},{})",
CardQueue::Learn as i8,
CardQueue::DayLearn as i8
"c.type in ({}, {})",
CardType::Learn as i8,
CardType::Relearn as i8,
),
StateKind::Buried => write!(
self.sql,