mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fix extra suspend tags
This commit is contained in:
parent
0ffc634094
commit
83e27a12ce
1 changed files with 1 additions and 1 deletions
|
@ -747,7 +747,7 @@ and priority in (1,2,3,4) and type in (0, 1)""", time=time)
|
|||
ids = tagIds(self.s, suspend)
|
||||
self.s.statement(
|
||||
"update tags set priority = 0 where id in %s" %
|
||||
ids2str(ids))
|
||||
ids2str(ids.values()))
|
||||
cards = self.s.all("""
|
||||
select cardTags.cardId,
|
||||
case min(tags.priority) when 0 then 0 else max(tags.priority) end
|
||||
|
|
Loading…
Reference in a new issue