aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask/do_search.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/wqflask/do_search.py')
-rw-r--r--wqflask/wqflask/do_search.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/wqflask/do_search.py b/wqflask/wqflask/do_search.py
index a7f117ec..3ea841ab 100644
--- a/wqflask/wqflask/do_search.py
+++ b/wqflask/wqflask/do_search.py
@@ -125,7 +125,10 @@ class MrnaAssaySearch(DoSearch):
aliases = get_aliases(search_string, self.dataset.group.species)
if len(aliases) > 0:
match_clause += " or "
- alias_string = " ".join(aliases)
+ alias_string_list = []
+ for alias in aliases:
+ alias_string_list.append('"'+alias+'"')
+ alias_string = " ".join(alias_string_list)
match_clause += "(MATCH (ProbeSet.symbol) AGAINST ('%s' IN BOOLEAN MODE))) and " % alias_string
else:
match_clause += ") and "