diff options
author | Frederick Muriuki Muriithi | 2024-06-05 16:37:12 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-06-05 16:37:12 -0500 |
commit | 0acac9d1d27d922e69fc2a2163429df5a69862a3 (patch) | |
tree | d862d772cce5dea89eefdf06c09ffad0dbc2e8e9 /gn2/wqflask/templates | |
parent | 2353817c57f676d01bc0e51cfd4d8dc8d46e1bb0 (diff) | |
download | genenetwork2-0acac9d1d27d922e69fc2a2163429df5a69862a3.tar.gz |
Build search URI endpoint on server rather than on JS
To help with maintenance, build the search URI on the server rather
than in the javascript.
Diffstat (limited to 'gn2/wqflask/templates')
-rw-r--r-- | gn2/wqflask/templates/oauth2/data-list-phenotype.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/oauth2/data-list-phenotype.html b/gn2/wqflask/templates/oauth2/data-list-phenotype.html index b23c16e2..d355f3f9 100644 --- a/gn2/wqflask/templates/oauth2/data-list-phenotype.html +++ b/gn2/wqflask/templates/oauth2/data-list-phenotype.html @@ -113,6 +113,7 @@ <form id="frm-search-traits" action="#" method="POST" + data-search-endpoint="{{search_endpoint}}" data-pheno-results-template="{{pheno_results_template}}"> {%if dataset_type == "mrna"%} <legend>mRNA: Search</legend> |