summary refs log tree commit diff
path: root/synapse/storage/search.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2016-12-20 12:14:08 +0000
committerMatthew Hodgson <matthew@matrix.org>2016-12-20 12:14:08 +0000
commit2998fa57b0b74b1c8483416cbf7c210292712550 (patch)
tree71635309dabff5abecb70c120fa1b878979a586f /synapse/storage/search.py
parentBump version and changelog (diff)
parentuncommitted changes on matrix.org (diff)
downloadsynapse-hotfixes-v0.18.5.tar.xz
merge uncommitted changes from matrix.org into hotfixes-v0.18.5 github/hotfixes-v0.18.5 hotfixes-v0.18.5
Diffstat (limited to '')
-rw-r--r--synapse/storage/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/search.py b/synapse/storage/search.py

index 8f2b3c4435..17c6c55714 100644 --- a/synapse/storage/search.py +++ b/synapse/storage/search.py
@@ -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: