diff options
author | zsloan | 2024-06-07 18:35:56 +0000 |
---|---|---|
committer | zsloan | 2024-06-27 14:34:42 -0500 |
commit | 184fba3a93696735f7a7ef6b88242f598594c7af (patch) | |
tree | 4cf0dbf3208c57a29343e8f5628ae043a67c372f /gn2/wqflask/static/new/javascript | |
parent | 48f2260cf11a4f4dd6560952edb3be35377efd93 (diff) | |
download | genenetwork2-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/javascript')
-rw-r--r-- | gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js | 5 |
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") +}); |