Skip to content

Commit

Permalink
latest libanki
Browse files Browse the repository at this point in the history
  • Loading branch information
nobnago committed Aug 31, 2012
1 parent b080961 commit b05cedd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/ichi2/libanki/Sched.java
Expand Up @@ -1403,7 +1403,7 @@ private int _deckRevLimitSingle(JSONObject d) {

public int _revForDeck(long did, int lim) {
lim = Math.min(lim, mReportLimit);
return mCol.getDb().queryScalar("SELECT count() FROM (SELECT 1 FROM cards WHERE did = " + did + " AND queue = 2 and due <= " + mToday + " LIMIT " + lim + ")", false);
return mCol.getDb().queryScalar("SELECT count() FROM (SELECT 1 FROM cards WHERE did = " + did + " AND queue IN (2, 3) AND due <= " + mToday + " LIMIT " + lim + ")", false);
}


Expand Down

0 comments on commit b05cedd

Please sign in to comment.