aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn2/wqflask/do_search.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn2/wqflask/do_search.py b/gn2/wqflask/do_search.py
index b64c6fce..d50ef39d 100644
--- a/gn2/wqflask/do_search.py
+++ b/gn2/wqflask/do_search.py
@@ -359,6 +359,7 @@ class GenotypeSearch(DoSearch):
if "'" not in self.search_term[0]:
self.search_term = "%" + self.search_term[0] + "%"
+ self.search_term = self.search_term.replace("*", "%")
for field in self.search_fields:
where_clause.append('''%s LIKE "%s"''' % ("%s.%s" % self.mescape(self.dataset.type,