aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/static/new
diff options
context:
space:
mode:
authorzsloan2024-06-07 18:35:56 +0000
committerzsloan2024-06-27 14:34:42 -0500
commit184fba3a93696735f7a7ef6b88242f598594c7af (patch)
tree4cf0dbf3208c57a29343e8f5628ae043a67c372f /gn2/wqflask/static/new
parent48f2260cf11a4f4dd6560952edb3be35377efd93 (diff)
downloadgenenetwork2-184fba3a93696735f7a7ef6b88242f598594c7af.tar.gz
Add separate button for Xapian search
This will be temporary in the longer run, but can stay until all functionality is reproduced.
Diffstat (limited to 'gn2/wqflask/static/new')
-rw-r--r--gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js b/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js
index 2875eabd..4310c4a8 100644
--- a/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js
+++ b/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js
@@ -329,3 +329,8 @@ $("#make_default").click(make_default);
$("#btsearch").click(function() {
$("#searchform").prop("action", "/search")
});
+
+$("#xapianSearch").click(function() {
+ $("input[name='search_type']").val("xapian")
+ $("#searchform").prop("action", "/search")
+});