diff options
author | zsloan | 2024-06-20 20:01:53 +0000 |
---|---|---|
committer | zsloan | 2024-06-27 14:34:42 -0500 |
commit | 256c5b7c6a1c7b38f00ce5955cc0f5b469a0b211 (patch) | |
tree | 9f3019893e7ad69dbb74b8f74baa7c7393100196 | |
parent | 937d70212d71f7d630815937f489a645d80454b2 (diff) | |
download | genenetwork2-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
-rw-r--r-- | gn2/wqflask/templates/search_result_page.html | 6 |
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>", |