mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
no need to adjust types when rebuilding priorities
This commit is contained in:
parent
c1d79b856f
commit
71de076309
1 changed files with 0 additions and 3 deletions
|
@ -1126,9 +1126,6 @@ group by cardTags.cardId""" % limit)
|
|||
"update cards set priority = :pri %s where id in %s "
|
||||
"and priority != :pri and priority >= -2") % (
|
||||
extra, ids2str(cs)), pri=pri, m=time.time())
|
||||
self.s.execute(
|
||||
"update cards set type = type - 3 where type in (3,4,5) and "
|
||||
"priority > 0")
|
||||
self.reset()
|
||||
|
||||
def updatePriority(self, card):
|
||||
|
|
Loading…
Reference in a new issue