Difference between revisions of "Dev/Results"

(syntax error)
(I think I did the last thing incorrectly)
Line 161: Line 161:
 
},
 
},
 
{ //Award Column
 
{ //Award Column
'defaultContent': '',
+
//'defaultContent': '',
 
'data': function(row, type, val, meta) {
 
'data': function(row, type, val, meta) {
 
if (type == 'sort') {
 
if (type == 'sort') {
return (row.award == '' ? 'zzzzz' : row.award); //No Award will sort alphabetically last
+
return (row.award == null ? 'zzzzz' : row.award); //No Award will sort alphabetically last
 
}
 
}
 
else {
 
else {
return row.award;
+
return (row.award == null ? '' : row.award);
 
}
 
}
 
}
 
}

Revision as of 21:10, 23 September 2015

Comprehensive Results from iGEM

View: [All Teams] [Award Winners] | [Africa] [Asia] [Europe] [Latin America][other?]

Team Award