only split on space

This commit is contained in:
Damien Elmes 2009-03-23 10:29:26 +09:00
parent 80464ab4a5
commit da4461d48d

View file

@ -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(