diff options
author | zsloan | 2024-06-26 22:24:53 +0000 |
---|---|---|
committer | zsloan | 2024-06-27 14:34:42 -0500 |
commit | bb50f7dfcc753e1067c4e146f9b8973872fb2d63 (patch) | |
tree | 830134bb7edefcbd220951181c2a3f495048b229 /gn2/wqflask/templates | |
parent | f6bcad10df3b6663d19227d2cf58d2e2b52bbe91 (diff) | |
download | genenetwork2-bb50f7dfcc753e1067c4e146f9b8973872fb2d63.tar.gz |
Automatically decide whether to use Xapian or SQL (uses Xapian if possible) + remove separate search button
Change logic so that SQL is used for non-term Publish searches, since searches for phenotype trait IDs currently don't work in Xapian
Diffstat (limited to 'gn2/wqflask/templates')
-rwxr-xr-x | gn2/wqflask/templates/index_page.html | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gn2/wqflask/templates/index_page.html b/gn2/wqflask/templates/index_page.html index 84d441f2..f0840425 100755 --- a/gn2/wqflask/templates/index_page.html +++ b/gn2/wqflask/templates/index_page.html @@ -111,7 +111,6 @@ </div> <form method="get" action="/search" target="_blank" id="searchform" name="SEARCHFORM", data-gn_server_url="{{gn_server_url}}"> - <input name="search_type" type="hidden" value="sql"> <fieldset> <div style="padding-left: 20px; padding-right: 20px;" class="form-horizontal"> @@ -199,9 +198,6 @@ <div class="col-2 controls"> <button id="btsearch" class="btn btn-primary form-control"><span class="glyphicon glyphicon-search"></span> Search</button> </div> - <div class="col-2 controls" style="padding-left: 20px;"> - <button id="xapianSearch" class="btn btn-primary form-control"><span class="glyphicon glyphicon-search"></span> Xapian Search</button> - </div> <div class="col-2 align-self-end controls" style="padding-left: 20px;"> <button type="button" id="make_default" class="btn form-control info-button"><span class="glyphicon glyphicon-pushpin"></span> Lock Menu</button> </div> |