aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-08-02 19:12:10 +0000
committerzsloan2022-08-02 19:12:10 +0000
commit12d9c5d87c75e5b2eee69f3533ea4452d88b1b35 (patch)
tree861285c1cda8be5409740de13e0be29c16bce21b
parenta27af20d34190ab5320350dfe73d0a4ce6e116d7 (diff)
downloadgenenetwork2-12d9c5d87c75e5b2eee69f3533ea4452d88b1b35.tar.gz
Remove unused parameters from collections/view.html column render functions
-rw-r--r--wqflask/wqflask/templates/collections/view.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html
index 4f1c82f0..a9c84cb0 100644
--- a/wqflask/wqflask/templates/collections/view.html
+++ b/wqflask/wqflask/templates/collections/view.html
@@ -139,7 +139,7 @@
'width': "5px",
'orderDataType': "dom-checkbox",
'targets': 0,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
return '<input type="checkbox" name="searchResult" class="checkbox trait_checkbox" value="' + data.hmac + '">'
}
},
@@ -166,7 +166,7 @@
'width': "120px",
'targets': 3,
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
return '<a target="_blank" href="/show_trait?trait_id=' + data.name + '&dataset=' + data.dataset + '">' + data.display_name + '</a>'
}
},
@@ -175,7 +175,7 @@
'type': "natural",
'targets': 4,
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (Object.hasOwn(data, 'symbol')){
return data.symbol
} else {
@@ -188,7 +188,7 @@
'type': "natural",
'targets': 5,
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (Object.hasOwn(data, 'description')){
try {
return decodeURIComponent(escape(data.description))
@@ -206,7 +206,7 @@
'width': "125px",
'targets': 6,
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (Object.hasOwn(data, 'location')){
return data.location
} else {
@@ -221,7 +221,7 @@
'data': null,
'targets': 7,
'orderSequence': [ "desc", "asc"],
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (Object.hasOwn(data, 'mean')){
return data.mean.toFixed(3)
} else {
@@ -236,7 +236,7 @@
'width': "60px",
'targets': 8,
'orderSequence': [ "desc", "asc"],
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (Object.hasOwn(data, 'lrs_score')){
return (data.lrs_score / 4.61).toFixed(3)
} else {
@@ -250,7 +250,7 @@
'data': null,
'width': "125px",
'targets': 9,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (Object.hasOwn(data, 'lrs_location')){
return data.lrs_location
} else {
@@ -265,7 +265,7 @@
'width': "85px",
'targets': 10,
'orderSequence': [ "desc", "asc"],
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (Object.hasOwn(data, 'additive')){
return data.additive.toFixed(3)
} else {