From 7bfef57894df79731f3c3c530a924ebfc3d64516 Mon Sep 17 00:00:00 2001 From: goodygh Date: Thu, 13 Apr 2023 18:54:59 +0200 Subject: [PATCH] Fix sorting for active and tla on admins --- data/web/js/site/admin.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/web/js/site/admin.js b/data/web/js/site/admin.js index cf5ffccd..0326482d 100644 --- a/data/web/js/site/admin.js +++ b/data/web/js/site/admin.js @@ -260,8 +260,8 @@ jQuery(function($){ data: 'tfa_active', defaultContent: '', render: function (data, type) { - if(data == 1) return ''; - else return ''; + if(data == 1) return '1'; + else return '0'; } }, { @@ -269,8 +269,8 @@ jQuery(function($){ data: 'active', defaultContent: '', render: function (data, type) { - if(data == 1) return ''; - else return ''; + if(data == 1) return '1'; + else return '0'; } }, {