diff options
author | zsloan | 2024-10-17 20:24:01 +0000 |
---|---|---|
committer | zsloan | 2024-10-17 20:24:01 +0000 |
commit | 5aa4e80366c940f653b59a7c0d686bc56d6aae8d (patch) | |
tree | bbda153976d57ba0070825790b5417a55fa515b7 /gn2/wqflask | |
parent | dd21462e3a8d2b9481f521dc25c4303be2b1760f (diff) | |
download | genenetwork2-5aa4e80366c940f653b59a7c0d686bc56d6aae8d.tar.gz |
Fix wildcard search for Genotype searches
Diffstat (limited to 'gn2/wqflask')
-rw-r--r-- | gn2/wqflask/do_search.py | 1 |
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, |