mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
only split on space
This commit is contained in:
parent
80464ab4a5
commit
da4461d48d
1 changed files with 1 additions and 1 deletions
|
@ -1442,7 +1442,7 @@ and cards.factId = facts.id""")
|
||||||
def cardsWithTags(self, tagStr, search="and"):
|
def cardsWithTags(self, tagStr, search="and"):
|
||||||
tagIds = []
|
tagIds = []
|
||||||
# get ids
|
# get ids
|
||||||
for tag in tagStr.split():
|
for tag in tagStr.split(" "):
|
||||||
tag = tag.replace("*", "%")
|
tag = tag.replace("*", "%")
|
||||||
if "%" in tag:
|
if "%" in tag:
|
||||||
ids = self.s.column0(
|
ids = self.s.column0(
|
||||||
|
|
Loading…
Reference in a new issue