aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
diff options
context:
space:
mode:
authorzsloan2024-06-26 22:24:53 +0000
committerAlexander_Kabui2024-08-28 15:02:45 +0300
commitf60ee46a1adffceda078ba72ca4b1562f1d477fc (patch)
tree5894d1228098431d99177979784e73a515ac9d80 /gn2/wqflask/templates
parentb6660b2edb8967b6c78bcf810efc06d59aa486ee (diff)
downloadgenenetwork2-f60ee46a1adffceda078ba72ca4b1562f1d477fc.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-xgn2/wqflask/templates/index_page.html4
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>