aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/static/new/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/static/new/javascript')
-rw-r--r--gn2/wqflask/static/new/javascript/auth/search_phenotypes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/static/new/javascript/auth/search_phenotypes.js b/gn2/wqflask/static/new/javascript/auth/search_phenotypes.js
index e9ef2683..8689af75 100644
--- a/gn2/wqflask/static/new/javascript/auth/search_phenotypes.js
+++ b/gn2/wqflask/static/new/javascript/auth/search_phenotypes.js
@@ -119,7 +119,7 @@ function search_phenotypes() {
per_page = document.getElementById("txt-per-page").value
search_table = new TableDataSource(
"#tbl-phenotypes", "data-traits", search_checkbox);
- endpoint = "/auth/data/phenotype/search"
+ endpoint = endpoint = $("#frm-search-traits").attr("data-search-endpoint");
$.ajax(
endpoint,
{