don't pull learning cards into v1 filtered deck
preventing emptying is harder - operations like suspending don't expect remFromDyn() to fail
This commit is contained in:
parent
6bd1eed9b6
commit
13c54e02d8
@ -957,7 +957,7 @@ select id from cards where did in %s and queue = 2 and due <= ? limit ?)"""
|
||||
orderlimit = self._dynOrder(order, limit)
|
||||
if search.strip():
|
||||
search = "(%s)" % search
|
||||
search = "%s -is:suspended -is:buried -deck:filtered" % search
|
||||
search = "%s -is:suspended -is:buried -deck:filtered -is:learn" % search
|
||||
try:
|
||||
ids = self.col.findCards(search, order=orderlimit)
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user