Skip to content

Commit

Permalink
Use the combination of the 2 fields in "Type" column to allow correct…
Browse files Browse the repository at this point in the history
… sorting (#3207)
  • Loading branch information
rdwebdesign authored Feb 4, 2025
2 parents edef3a8 + 59bd009 commit 65ad66d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/js/groups-domains.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function initTable() {
{ data: "id", visible: false },
{ data: null, visible: true, orderable: false, width: "15px" },
{ data: "domain" },
{ data: "type", searchable: false },
{ data: null, searchable: false },
{ data: "enabled", searchable: false },
{ data: "comment" },
{ data: "groups", searchable: false },
Expand All @@ -120,6 +120,12 @@ function initTable() {
return "";
},
},
{
targets: 3,
render: function (data) {
return data.kind + "_" + data.type;
},
},
{
targets: "_all",
render: $.fn.dataTable.render.text(),
Expand Down

0 comments on commit 65ad66d

Please sign in to comment.