mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -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"):
|
||||
tagIds = []
|
||||
# get ids
|
||||
for tag in tagStr.split():
|
||||
for tag in tagStr.split(" "):
|
||||
tag = tag.replace("*", "%")
|
||||
if "%" in tag:
|
||||
ids = self.s.column0(
|
||||
|
|
Loading…
Reference in a new issue