Fixed ability to sort campaign results by reported status. Fixes #1157

1205-drop-campaigns
Jordan Wright 2018-09-02 12:18:41 -05:00
parent fa1d4d74b0
commit de3c3a2e9c
2 changed files with 6 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -774,11 +774,13 @@ function load() {
{
className: "text-center",
"render": function (reported, type, row) {
if (reported) {
return "<i class='fa fa-check-circle text-center text-success'></i>"
} else {
if (type == "display") {
if (reported) {
return "<i class='fa fa-check-circle text-center text-success'></i>"
}
return "<i class='fa fa-times-circle text-center text-muted'></i>"
}
return reported
},
"targets": [7]
}