mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12: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(
|
return self.col.db.scalar(
|
||||||
"""
|
"""
|
||||||
select count() from cards where id in (
|
select count() from cards where id in (
|
||||||
select id from cards where did in %s and queue = 2 limit ?)"""
|
select id from cards where did in %s and queue = 2 and due <= ? limit ?)"""
|
||||||
% ids2str(self.col.decks.active()), self.reportLimit)
|
% ids2str(self.col.decks.active()), self.today, self.reportLimit)
|
||||||
|
|
||||||
# Answering a review card
|
# Answering a review card
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
Loading…
Reference in a new issue