aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorzsloan2024-06-20 20:01:53 +0000
committerzsloan2024-06-27 14:34:42 -0500
commit256c5b7c6a1c7b38f00ce5955cc0f5b469a0b211 (patch)
tree9f3019893e7ad69dbb74b8f74baa7c7393100196 /gn2
parent937d70212d71f7d630815937f489a645d80454b2 (diff)
downloadgenenetwork2-256c5b7c6a1c7b38f00ce5955cc0f5b469a0b211.tar.gz
Add default value for location and symbol
Adding these in the DataTables column definitions is convenient because it means they don't need to be dealt with in the Python code
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/templates/search_result_page.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/gn2/wqflask/templates/search_result_page.html b/gn2/wqflask/templates/search_result_page.html
index 934b6a9d..6ef66bd4 100644
--- a/gn2/wqflask/templates/search_result_page.html
+++ b/gn2/wqflask/templates/search_result_page.html
@@ -224,7 +224,8 @@
'type': "natural",
'width': "{{ max_widths.symbol * 8 }}px",
'targets': 3,
- 'data': "symbol"
+ 'data': "symbol",
+ 'defaultContent': "N/A"
},
{
'title': "Description",
@@ -248,7 +249,8 @@
'type': "natural-minus-na",
'width': "130px",
'targets': 5,
- 'data': "location"
+ 'data': "location",
+ 'defaultContent': "N/A"
},
{
'title': "<div style='text-align: right;'>Mean</div>",