about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander_Kabui2024-05-13 18:24:36 +0300
committerAlexander_Kabui2024-05-13 18:24:36 +0300
commit01eba6e9b54e45bc937983e33b439a353118de2c (patch)
treeab2389a7931c1c3d273c434c7d29380f312fa5c4
parentc5800e1ba6e7c5180fdfcf0cf933b1992271d67f (diff)
downloadgenenetwork2-01eba6e9b54e45bc937983e33b439a353118de2c.tar.gz
Disable gnqa functionality.
 * to test the functionality use ga.genenetwork.org
-rw-r--r--gn2/wqflask/templates/base.html3
-rw-r--r--gn2/wqflask/views.py6
2 files changed, 7 insertions, 2 deletions
diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html
index 26b75230..14b484a5 100644
--- a/gn2/wqflask/templates/base.html
+++ b/gn2/wqflask/templates/base.html
@@ -183,10 +183,11 @@
 			</div>
 			<!-- todo fix text overlap for this;;responsiveness-->
 
+			<!-- this functionality is currently use;ga.genenetwork.org/gnqna
 			<span style="padding: 5px;margin-left: 65px;" id="gnqna_home">
                             <a href="/gnqna">GNQA Search</a>
 			</span>
-
+			-->
 			<span  style="padding: 5px;margin-left: 65px;" >
                             <a style="text-decoration: none" target="_blank" href="https://issues.genenetwork.org/topics/xapian/xapian-search-queries">
                                 <i  style="text-align: center;color:#336699;;" class="fa fa-question-circle fa-2x" title="see more search hints" aria-hidden="true"></i>
diff --git a/gn2/wqflask/views.py b/gn2/wqflask/views.py
index 843ed07a..9f403ace 100644
--- a/gn2/wqflask/views.py
+++ b/gn2/wqflask/views.py
@@ -255,8 +255,12 @@ def gsearchtable():
     return flask.jsonify(current_page)
 
 
-@app.route("/gnqna", methods=["POST", "GET"])
+"""@app.route("/gnqna", methods=["POST", "GET"]) ;;feature currently disabled
+;;use ga.genenetwork.org
 @require_oauth2
+"""
+
+
 def gnqna():
 
     if request.method == "POST":