From dd89575d502e691157f210cdebbd2afb8c292bff Mon Sep 17 00:00:00 2001
From: zsloan
Date: Tue, 2 Aug 2022 19:14:07 +0000
Subject: Remove unused parameters from gsearch_pheno.html's column render
functions
---
wqflask/wqflask/templates/gsearch_pheno.html | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
(limited to 'wqflask')
diff --git a/wqflask/wqflask/templates/gsearch_pheno.html b/wqflask/wqflask/templates/gsearch_pheno.html
index 8824ce55..a7357b03 100644
--- a/wqflask/wqflask/templates/gsearch_pheno.html
+++ b/wqflask/wqflask/templates/gsearch_pheno.html
@@ -84,7 +84,7 @@
'orderDataType': "dom-checkbox",
'width': "10px",
'targets': 0,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
return ''
}
},
@@ -116,7 +116,7 @@
'width': "60px",
'targets': 4,
'orderDataType': "dom-inner-text",
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
return '' + data.display_name + ''
}
},
@@ -126,7 +126,7 @@
'width': "500px",
'targets': 5,
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
try {
return decodeURIComponent(escape(data.description))
} catch(err) {
@@ -147,7 +147,7 @@
'width': "300px",
'targets': 7,
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
author_list = data.authors.split(",")
if (author_list.length >= 6) {
author_string = author_list.slice(0, 6).join(",") + ", et al."
@@ -164,7 +164,7 @@
'orderDataType': "dom-inner-text",
'width': "25px",
'targets': 8,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (data.pubmed_id != "N/A"){
return '' + data.pubmed_text + ''
} else {
--
cgit 1.4.1