Change meaning of "is:learn" to filter on type, not queue
This commit is contained in:
parent
83136d2491
commit
59cb901a3b
@ -279,9 +279,9 @@ impl SqlWriter<'_> {
|
|||||||
),
|
),
|
||||||
StateKind::Learning => write!(
|
StateKind::Learning => write!(
|
||||||
self.sql,
|
self.sql,
|
||||||
"c.queue in ({},{})",
|
"c.type in ({}, {})",
|
||||||
CardQueue::Learn as i8,
|
CardType::Learn as i8,
|
||||||
CardQueue::DayLearn as i8
|
CardType::Relearn as i8,
|
||||||
),
|
),
|
||||||
StateKind::Buried => write!(
|
StateKind::Buried => write!(
|
||||||
self.sql,
|
self.sql,
|
||||||
|
Loading…
Reference in New Issue
Block a user