When cards are intraday learning queue, don't use original due

https://forums.ankiweb.net/t/backlog-with-no-backlo/30832
This commit is contained in:
Damien Elmes 2023-06-07 16:20:44 +10:00
parent ea1180ffc2
commit 7a9c6172ef

View File

@ -16,7 +16,8 @@ impl GraphsContext {
}
// The extra original_due check covers lapsed cards, which have their due date
// updated on graduation.
let due = if c.is_filtered() && c.original_due != 0 {
let intraday = c.is_intraday_learning();
let due = if c.is_filtered() && c.original_due != 0 && !intraday {
c.original_due
} else {
c.due