mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
ignore new cards in hiddenCards()
This commit is contained in:
parent
f7a813831c
commit
276ec634b9
1 changed files with 2 additions and 1 deletions
|
@ -1259,7 +1259,8 @@ where type < 0 and id in %s""" %
|
|||
def hiddenCards(self):
|
||||
"Assumes queue finished. True if some due cards have not been shown."
|
||||
return self.s.scalar("""
|
||||
select 1 from cards where combinedDue < :now limit 1""", now=self.dueCutoff)
|
||||
select 1 from cards where combinedDue < :now
|
||||
and type between 0 and 1 limit 1""", now=self.dueCutoff)
|
||||
|
||||
def newCardsDoneToday(self):
|
||||
return (self._dailyStats.newEase0 +
|
||||
|
|
Loading…
Reference in a new issue