mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fix is:due search
This commit is contained in:
parent
c68a2fc838
commit
70a1992f70
1 changed files with 3 additions and 2 deletions
|
@ -192,9 +192,10 @@ impl SqlWriter<'_> {
|
|||
StateKind::Suspended => write!(self.sql, "c.queue = {}", CardQueue::Suspended as i8),
|
||||
StateKind::Due => write!(
|
||||
self.sql,
|
||||
"
|
||||
"(
|
||||
(c.queue in ({rev},{daylrn}) and c.due <= {today}) or
|
||||
(c.queue = {lrn} and c.due <= {daycutoff})",
|
||||
(c.queue = {lrn} and c.due <= {daycutoff})
|
||||
)",
|
||||
rev = CardQueue::Review as i8,
|
||||
daylrn = CardQueue::DayLearn as i8,
|
||||
today = timing.days_elapsed,
|
||||
|
|
Loading…
Reference in a new issue