mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
allTags() ignores card tag
This commit is contained in:
parent
0e7ebae9b8
commit
a9a4f08e24
1 changed files with 1 additions and 2 deletions
|
@ -157,8 +157,7 @@ class Card(object):
|
||||||
|
|
||||||
def allTags(self):
|
def allTags(self):
|
||||||
"Non-canonified string of all tags."
|
"Non-canonified string of all tags."
|
||||||
return (self.tags + "," +
|
return (self.fact.tags + "," +
|
||||||
self.fact.tags + "," +
|
|
||||||
self.fact.model.tags)
|
self.fact.model.tags)
|
||||||
|
|
||||||
def hasTag(self, tag):
|
def hasTag(self, tag):
|
||||||
|
|
Loading…
Reference in a new issue