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!( 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,