mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix rebuildCounts()
This commit is contained in:
parent
5ca9afa0da
commit
e25e8ff0ed
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ end)""" + where)
|
||||||
self.cardCount = self.s.scalar("select count(*) from cards")
|
self.cardCount = self.s.scalar("select count(*) from cards")
|
||||||
self.factCount = self.s.scalar("select count(*) from facts")
|
self.factCount = self.s.scalar("select count(*) from facts")
|
||||||
# due counts
|
# due counts
|
||||||
self.failedSoonCount = cardCount = self.s.scalar(
|
self.failedSoonCount = self.s.scalar(
|
||||||
"select count(*) from failedCards")
|
"select count(*) from failedCards")
|
||||||
self.failedNowCount = self.s.scalar("""
|
self.failedNowCount = self.s.scalar("""
|
||||||
select count(*) from cards where type = 0 and isDue = 1
|
select count(*) from cards where type = 0 and isDue = 1
|
||||||
|
|
Loading…
Reference in a new issue