diff --git a/src/ui/pages/home/SearchVariant.tsx b/src/ui/pages/home/SearchVariant.tsx index 0ebdcc1..9c11612 100644 --- a/src/ui/pages/home/SearchVariant.tsx +++ b/src/ui/pages/home/SearchVariant.tsx @@ -119,7 +119,7 @@ const SearchVariant = () => { if (hasMultipleLines(cleanText)) { promise = submitInputText(cleanText, form.assembly) } else { - let directQuery = `${QUERY}?search=${encodeURIComponent(cleanText)}` + let directQuery = `${QUERY}?search=${encodeURIComponent(cleanText)}&assembly=${form.assembly}` if (form.assembly && form.assembly === Assembly.GRCh37) { // single input uses GRCh38 by default (auto-detect is ignored), unless GRCh37 is specified. directQuery += `&assembly=${encodeURIComponent(form.assembly)}`