Skip to content

Commit

Permalink
Revert pyfa-org#600
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebag333 committed Aug 12, 2016
1 parent a0b79df commit 3855f5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eos/db/gamedata/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ def searchItems(nameLike, where=None, join=None, eager=None):
items = gamedata_session.query(Item).options(*processEager(eager)).join(*join)
for token in nameLike.split(' '):
token_safe = u"%{0}%".format(sqlizeString(token))
items = items.filter(and_(Item.name.like(token_safe, escape="\\"), where))
#items = items.filter(and_(Item.name.like(token_safe, escape="\\"), where))
items = items.filter(processWhere(Item.name.like(token_safe, escape="\\"), where))
items = items.limit(100).all()
return items

Expand Down

0 comments on commit 3855f5e

Please sign in to comment.