diff options
author | zsloan | 2024-06-26 22:24:53 +0000 |
---|---|---|
committer | Alexander_Kabui | 2024-08-28 15:02:45 +0300 |
commit | f60ee46a1adffceda078ba72ca4b1562f1d477fc (patch) | |
tree | 5894d1228098431d99177979784e73a515ac9d80 /gn2/wqflask/static/new/javascript | |
parent | b6660b2edb8967b6c78bcf810efc06d59aa486ee (diff) | |
download | genenetwork2-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/static/new/javascript')
-rw-r--r-- | gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js | 5 |
1 files changed, 0 insertions, 5 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 4310c4a8..2875eabd 100644 --- a/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js +++ b/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js @@ -329,8 +329,3 @@ $("#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") -}); |