Merge pull request #895 from hgiesel/newlearn

Change meaning of "is:learn" to filter on type, not queue
This commit is contained in:
Damien Elmes 2021-01-06 19:13:59 +10:00 committed by GitHub
commit e28c67d4f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,