diff options
author | Munyoki Kilyungi | 2024-05-14 12:56:43 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-05-14 12:56:43 +0300 |
commit | 19e781e9f8dc8bfaeacfb3f86c3823fe4f6f1218 (patch) | |
tree | b6c0ef42c70ad7af88951b72ee4a040845f889f4 /gn2/wqflask | |
parent | 8a4ab36a4691db03f731f918b7c4e6ff859157ee (diff) | |
download | genenetwork2-19e781e9f8dc8bfaeacfb3f86c3823fe4f6f1218.tar.gz |
Revert "Disable gnqa functionality."
This reverts commit 01eba6e9b54e45bc937983e33b439a353118de2c.
Diffstat (limited to 'gn2/wqflask')
-rw-r--r-- | gn2/wqflask/templates/base.html | 3 | ||||
-rw-r--r-- | gn2/wqflask/views.py | 6 |
2 files changed, 2 insertions, 7 deletions
diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html index 14b484a5..26b75230 100644 --- a/gn2/wqflask/templates/base.html +++ b/gn2/wqflask/templates/base.html @@ -183,11 +183,10 @@ </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 9f403ace..843ed07a 100644 --- a/gn2/wqflask/views.py +++ b/gn2/wqflask/views.py @@ -255,12 +255,8 @@ def gsearchtable(): return flask.jsonify(current_page) -"""@app.route("/gnqna", methods=["POST", "GET"]) ;;feature currently disabled -;;use ga.genenetwork.org +@app.route("/gnqna", methods=["POST", "GET"]) @require_oauth2 -""" - - def gnqna(): if request.method == "POST": |