Fix sorting datatable in aliases

This commit is contained in:
goodygh 2023-04-12 00:21:27 +02:00
parent 025279009d
commit c737ff4180

View File

@ -1916,7 +1916,7 @@ jQuery(function($){
data: 'sogo_visible', data: 'sogo_visible',
defaultContent: '', defaultContent: '',
render: function(data, type){ render: function(data, type){
return 1==data?'<i class="bi bi-check-lg"></i>':0==data&&'<i class="bi bi-x-lg"></i>'; return 1==data?'<i class="bi bi-check-lg"><span class="sorting-value">1</span></i>':0==data&&'<i class="bi bi-x-lg"><span class="sorting-value">0</span></i>';
} }
}, },
{ {
@ -1935,7 +1935,7 @@ jQuery(function($){
defaultContent: '', defaultContent: '',
responsivePriority: 6, responsivePriority: 6,
render: function (data, type) { render: function (data, type) {
return 1==data?'<i class="bi bi-check-lg"></i>':0==data&&'<i class="bi bi-x-lg"></i>'; return 1==data?'<i class="bi bi-check-lg"><span class="sorting-value">1</span></i>':0==data&&'<i class="bi bi-x-lg"><span class="sorting-value">0</span></i>';
} }
}, },
{ {