From 8d16ed8dfdbf17d2f7e888819f13b04d98049388 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 27 Oct 2020 19:31:45 -0500 Subject: Cast ProbeSet description as binary to fix encoding issue on global search page * wqflask/wqflask/gsearch.py - Cast ProbeSet description as binary --- wqflask/wqflask/gsearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/gsearch.py b/wqflask/wqflask/gsearch.py index 5b26e372..9e46c0c5 100644 --- a/wqflask/wqflask/gsearch.py +++ b/wqflask/wqflask/gsearch.py @@ -35,7 +35,7 @@ class GSearch(object): ProbeSetFreeze.FullName AS probesetfreeze_fullname, ProbeSet.Name AS probeset_name, ProbeSet.Symbol AS probeset_symbol, - ProbeSet.`description` AS probeset_description, + CAST(ProbeSet.`description` AS BINARY) AS probeset_description, ProbeSet.Chr AS chr, ProbeSet.Mb AS mb, ProbeSetXRef.Mean AS mean, -- cgit v1.2.3