From 12d9c5d87c75e5b2eee69f3533ea4452d88b1b35 Mon Sep 17 00:00:00 2001
From: zsloan
Date: Tue, 2 Aug 2022 19:12:10 +0000
Subject: Remove unused parameters from collections/view.html column render
functions
---
wqflask/wqflask/templates/collections/view.html | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
(limited to 'wqflask')
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 ''
}
},
@@ -166,7 +166,7 @@
'width': "120px",
'targets': 3,
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
return '' + data.display_name + ''
}
},
@@ -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 {
--
cgit v1.2.3