about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 {