Fix sorting for active and tla on domain-admins

This commit is contained in:
goodygh 2023-04-13 18:54:08 +02:00
parent 3fe8aaa719
commit d9dfe15253

View File

@ -117,8 +117,8 @@ jQuery(function($){
data: 'tfa_active', data: 'tfa_active',
defaultContent: '', defaultContent: '',
render: function (data, type) { render: function (data, type) {
if(data == 1) return '<i class="bi bi-check-lg"></i>'; if(data == 1) return '<i class="bi bi-check-lg"><span class="sorting-value">1</span></i>';
else return '<i class="bi bi-x-lg"></i>'; else return '<i class="bi bi-x-lg"><span class="sorting-value">0</span></i>';
} }
}, },
{ {
@ -126,8 +126,8 @@ jQuery(function($){
data: 'active', data: 'active',
defaultContent: '', defaultContent: '',
render: function (data, type) { render: function (data, type) {
if(data == 1) return '<i class="bi bi-check-lg"></i>'; if(data == 1) return '<i class="bi bi-check-lg"><span class="sorting-value">1</span></i>';
else return '<i class="bi bi-x-lg"></i>'; else return '<i class="bi bi-x-lg"><span class="sorting-value">0</span></i>';
} }
}, },
{ {