aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/oauth2/data.py2
-rw-r--r--wqflask/wqflask/templates/oauth2/view-resource.html4
2 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/wqflask/oauth2/data.py b/wqflask/wqflask/oauth2/data.py
index a9d389dc..8b8f4f20 100644
--- a/wqflask/wqflask/oauth2/data.py
+++ b/wqflask/wqflask/oauth2/data.py
@@ -299,7 +299,7 @@ def link_phenotype_data():
if bool(form.get("species_name")):
link_source_url = redirect(url_for(
"oauth2.data.list_data_by_species_and_dataset",
- species_name=form["species_name"], dataset_type="mrna"))
+ species_name=form["species_name"], dataset_type="phenotype"))
def __link_error__(err):
error = process_error(err)
diff --git a/wqflask/wqflask/templates/oauth2/view-resource.html b/wqflask/wqflask/templates/oauth2/view-resource.html
index 8a5b360c..43f3f5b9 100644
--- a/wqflask/wqflask/templates/oauth2/view-resource.html
+++ b/wqflask/wqflask/templates/oauth2/view-resource.html
@@ -158,6 +158,7 @@
<th>Year</th>
{%endif%}
<th>Dataset Name</th>
+ <th>Dataset FullName</th>
<th>Actions</th>
</tr>
</thead>
@@ -191,9 +192,10 @@
<a href="https://gn1.genenetwork.org/webqtl/main.py?FormID=sharinginfo&GN_AccessionId={{data_item.accession_id}}&InfoPageName={{data_item.dataset_name}}"
title="Dataset Group: {{data_item.dataset_name}}"
target="_blank">
- {{data_item.dataset_fullname}}
+ {{data_item.dataset_name}}
</a>
</td>
+ <td>{{data_item.dataset_fullname}}</td>
<td>
<form method="POST"
action="{{url_for('oauth2.resource.link_data_to_resource')}}">