uncommitted changes on matrix.org

These might be important? who knows?
This commit is contained in:
Richard van der Hoff 2016-12-20 11:49:25 +00:00 committed by Matrix
parent bae1115e55
commit f5abaafabd
4 changed files with 10 additions and 10 deletions

View file

@ -600,7 +600,7 @@ def _parse_query(database_engine, search_term):
results = re.findall(r"([\w\-]+)", search_term, re.UNICODE)
if isinstance(database_engine, PostgresEngine):
return " & ".join(result + ":*" for result in results)
return " & ".join(result for result in results)
elif isinstance(database_engine, Sqlite3Engine):
return " & ".join(result + "*" for result in results)
else: