Skip to content

Commit

Permalink
[#345][FIX] Fixes #365 - case filerting sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
whikernel committed Dec 14, 2023
1 parent e451e7d commit e03c6cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/app/static/assets/js/iris/case.asset.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,9 +435,8 @@ $(document).ready(function(){
},
{ "data": "asset_ip",
"render": function (data, type, row, meta) {
if (type === 'display') {
datas = sanitizeHTML(data);
return datas;
if (type === 'display' && data != null) {
return ret_obj_dt_description(data);
}
return data;
}
Expand Down
1 change: 1 addition & 0 deletions source/app/static/assets/js/iris/overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ let OverviewTable = $("#overview_table").DataTable({
}
},
select: true,
orderCellsTop: true,
initComplete: function () {
tableFiltering(this.api(), 'overview_table');
},
Expand Down

0 comments on commit e03c6cc

Please sign in to comment.