diff options
author | zsloan | 2024-06-07 18:35:56 +0000 |
---|---|---|
committer | Alexander_Kabui | 2024-08-28 15:02:45 +0300 |
commit | 957c50ff39e76ba60870e5ad408616268bd43aae (patch) | |
tree | 9ede740955c119c7f0e99c579c62935e47b25e8f /gn2/wqflask/static/new/javascript | |
parent | a718bb065298501709cefb8df62112a756d29148 (diff) | |
download | genenetwork2-957c50ff39e76ba60870e5ad408616268bd43aae.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") +}); |