mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix totalRev()
This commit is contained in:
parent
1196601bc0
commit
62e69c3178
1 changed files with 2 additions and 2 deletions
|
@ -754,8 +754,8 @@ did = ? and queue = 2 and due <= ? limit ?""",
|
|||
return self.col.db.scalar(
|
||||
"""
|
||||
select count() from cards where id in (
|
||||
select id from cards where did in %s and queue = 2 limit ?)"""
|
||||
% ids2str(self.col.decks.active()), self.reportLimit)
|
||||
select id from cards where did in %s and queue = 2 and due <= ? limit ?)"""
|
||||
% ids2str(self.col.decks.active()), self.today, self.reportLimit)
|
||||
|
||||
# Answering a review card
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in a new issue