Disable auto search for prefixes in event search

dmr/revert-fts-changes-on-hotfix
Erik Johnston 2018-02-14 13:47:14 +00:00 committed by David Robertson
parent 7e0dd52782
commit 24409c7c15
No known key found for this signature in database
GPG Key ID: 903ECE108A39DEDD
1 changed files with 1 additions and 1 deletions

View File

@ -771,7 +771,7 @@ def _parse_query(database_engine: BaseDatabaseEngine, search_term: str) -> str:
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: